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

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 31 06:26:26 PDT 2018


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

            Bug ID: 38791
           Summary: Combine and-mask+icmp eq -> icmp ule when mask was
                    all-ones in high 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

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

Name: range using high bits
%masked = or i8 %arg, 192
%r = icmp ne i8 %masked, %arg
  =>
%r = icmp ult i8 %arg, 192

https://rise4fun.com/Alive/lv5

-- 
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/20180831/8f5dfbe5/attachment-0001.html>


More information about the llvm-bugs mailing list