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: unassignedb...@nondot.org
          Reporter: lebedev...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to