[llvm-bugs] [Bug 44186] Incorrect instcombine transform urem -> icmp+zext with vectors

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Dec 2 10:11:58 PST 2019


Sanjay Patel <spatel+llvm at rotateright.com> changed:

           What    |Removed                     |Added
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
 Fixed By Commit(s)|                            |af4e59949cc4

--- Comment #1 from Sanjay Patel <spatel+llvm at rotateright.com> ---
(In reply to Nuno Lopes from comment #0)
> I guess the easiest fix is to change undef to 1 in the icmp.

Yes, I agree. We have other transforms where we do something similar.
Should be fixed with:

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/20191202/552fc946/attachment.html>

More information about the llvm-bugs mailing list