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

            Bug ID: 38345
           Summary: Fold Select with XOR
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Scalar Optimizations
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Pattern:
%B = icmp eq i32 %A, 0
%C = xor i32 %A, %V
%D = select i1 %B, i32 %C, i32 %x
ret i32 %D
  =>
%D = select i1 %B, i32 %V, i32 %x
ret i32 %D 


https://rise4fun.com/Alive/43J

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to