[llvm-bugs] [Bug 48640] Missed optimization for ((X ashr C1) & C2) == 0

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 18 06:06:57 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=48640

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Sanjay Patel <spatel+llvm at rotateright.com> ---
>From the debug spew of instcombine, we now canonicalize the ashr+and to
icmp+select, so that's the very recent:
https://reviews.llvm.org/D111410

We might've have managed to reduce it through some other combination of folds
before last week, but either way, the examples here are now fixed.

-- 
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/20211018/2910f78c/attachment.html>


More information about the llvm-bugs mailing list