Revert a part of r223583, for now. It seems causing different emission between stage2...
[oota-llvm.git] / test / Transforms / InstSimplify / AndOrXor.ll
index ce3c2aa6af222406528ffd1dfc1638770853a0f6..c01c53ec4e1e0cad3f98e95f32eb6a53392ed7a0 100644 (file)
@@ -166,15 +166,6 @@ define i1 @and_icmp1(i32 %x, i32 %y) {
 ; CHECK: %[[cmp:.*]] = icmp ult i32 %x, %y
 ; CHECK: ret i1 %[[cmp]]
 
-define i1 @and_icmp2(i32 %x, i32 %y) {
-  %1 = icmp ult i32 %x, %y
-  %2 = icmp eq i32 %y, 0
-  %3 = and i1 %1, %2
-  ret i1 %3
-}
-; CHECK-LABEL: @and_icmp2(
-; CHECK: ret i1 false
-
 define i1 @or_icmp1(i32 %x, i32 %y) {
   %1 = icmp ult i32 %x, %y
   %2 = icmp ne i32 %y, 0