We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Missed fold in IR noticed while trying to fix #57381:
define i32 @src(i16 %x) { %a = ashr i16 %x, 15 ; -1 if negative, 0 if not-negative %r = add i16 %a, 1 ; 0 if negative, 1 if not-negative %r2 = zext i16 %r to i32 ret i32 %r2 } define i32 @tgt(i16 %x) { %a = icmp sgt i16 %x, -1 %r2 = zext i1 %a to i32 ret i32 %r2 }
https://alive2.llvm.org/ce/z/UFnPAb
The text was updated successfully, but these errors were encountered:
We miss the more basic fold without the cast: https://alive2.llvm.org/ce/z/5CrWQR
Sorry, something went wrong.
6c39a3a
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Missed fold in IR noticed while trying to fix #57381:
https://alive2.llvm.org/ce/z/UFnPAb
The text was updated successfully, but these errors were encountered: