We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://godbolt.org/z/Ez3hEb8vs
define i32 @poo2(i32 %a, i32 %b, i32 %c, i32 %d) { %t0 = icmp slt i32 %a, %b %iftmp.0.0 = select i1 %t0, i32 -1, i32 0 %t1 = and i32 %iftmp.0.0, %c %iftmp = select i1 %t0, i32 0, i32 -1 %t2 = and i32 %iftmp, %d %t3 = or i32 %t1, %t2 ret i32 %t3 } define i32 @poo3(i32 %a, i32 %b, i32 %c, i32 %d) { %t0 = icmp sge i32 %a, %b %iftmp.0.0 = select i1 %t0, i32 0, i32 -1 %t1 = and i32 %iftmp.0.0, %c %iftmp = select i1 %t0, i32 0, i32 -1 %t2 = and i32 %iftmp, %d %t3 = or i32 %t1, %t2 ret i32 %t3 }
define i32 @poo2(i32 %a, i32 %b, i32 %c, i32 %d) { %t0.not = icmp slt i32 %a, %b %t3 = select i1 %t0.not, i32 %c, i32 %d ret i32 %t3 } define i32 @poo3(i32 %a, i32 %b, i32 %c, i32 %d) { %t0.not = icmp slt i32 %a, %b %1 = or i32 %c, %d %t3 = select i1 %t0.not, i32 %1, i32 0 ret i32 %t3 }
The text was updated successfully, but these errors were encountered:
Sorry, I forgot to handle the multi-use case.
Sorry, something went wrong.
dtcxzyw
No branches or pull requests
https://godbolt.org/z/Ez3hEb8vs
The text was updated successfully, but these errors were encountered: