[llvm] r224677 - This should have been part of r224676.
David Majnemer
david.majnemer at gmail.com
Fri Dec 19 20:48:34 PST 2014
Author: majnemer
Date: Fri Dec 19 22:48:34 2014
New Revision: 224677
URL: http://llvm.org/viewvc/llvm-project?rev=224677&view=rev
Log:
This should have been part of r224676.
Modified:
llvm/trunk/test/Transforms/InstCombine/select.ll
Modified: llvm/trunk/test/Transforms/InstCombine/select.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/select.ll?rev=224677&r1=224676&r2=224677&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/InstCombine/select.ll (original)
+++ llvm/trunk/test/Transforms/InstCombine/select.ll Fri Dec 19 22:48:34 2014
@@ -1073,8 +1073,8 @@ define i32 @select_icmp_and_2147483648_e
}
; CHECK-LABEL: @select_icmp_x_and_2147483648_ne_0_or_2147483648(
-; CHECK: xor i32 %1, -2147483648
-; CHECK: or i32 %2, %x
+; CHECK-NEXT: [[OR:%[a-z0-9]+]] = or i32 %x, -2147483648
+; CHECK-NEXT: ret i32 [[OR]]
define i32 @select_icmp_x_and_2147483648_ne_0_or_2147483648(i32 %x) {
%and = and i32 %x, 2147483648
%cmp = icmp eq i32 %and, 0
More information about the llvm-commits
mailing list