[llvm-bugs] [Bug 45689] Failure to optimize away range check of modulo based on known ranges
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Feb 26 01:50:44 PST 2021
https://bugs.llvm.org/show_bug.cgi?id=45689
Florian Hahn <florian_hahn at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |florian_hahn at apple.com
Resolution|--- |FIXED
--- Comment #1 from Florian Hahn <florian_hahn at apple.com> ---
This looks fixed in current trunk, both clang & GCC produce
f(int, int):
mov eax, 1
ret
Please re-open if I missed anything.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210226/987ff46a/attachment.html>
More information about the llvm-bugs
mailing list