[llvm-bugs] [Bug 38123] New: Combine and-mask+icmp eq -> icmp ule when mask was all-ones in low bits

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jul 10 13:36:09 PDT 2018


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

            Bug ID: 38123
           Summary: Combine and-mask+icmp eq -> icmp ule when mask was
                    all-ones in low bits
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: lebedev.ri at gmail.com
                CC: llvm-bugs at lists.llvm.org

https://rise4fun.com/Alive/W2u
https://godbolt.org/g/sCX9A6

This pattern will be produced by Implicit Integer Trucation sanitizer,
(https://reviews.llvm.org/D48958)
in unsigned case, therefore it is probably a good idea to improve it.

-- 
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/20180710/f2fb92d2/attachment.html>


More information about the llvm-bugs mailing list