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
a <= abs(a)
Alive2 Proof: https://alive2.llvm.org/ce/z/XD9--h Original program: https://godbolt.org/z/aT8v6G8e9
The text was updated successfully, but these errors were encountered:
Other missed optimizations on abs
abs
abs(a) == a
(a >= 0)
abs(a) == -a
(a <= 0)
Alive2 Proof: https://alive2.llvm.org/ce/z/UaEEkb Original program: https://godbolt.org/z/3897dn6fT
Sorry, something went wrong.
I filed the GCC bug report for the full set of comparisons: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112626
[InstCombine] Simplify compare abs(X) and X. (#76385)
86ef039
fix #72653 proof: https://alive2.llvm.org/ce/z/LZzZaj
Z572
Successfully merging a pull request may close this issue.
Alive2 Proof: https://alive2.llvm.org/ce/z/XD9--h
Original program: https://godbolt.org/z/aT8v6G8e9
The text was updated successfully, but these errors were encountered: