[SystemZ] Add test missing from r186148
[oota-llvm.git] / test / Transforms / InstCombine / apint-xor1.ll
index 116d70e7e62f7fba715b2a2ecf7b2caac4b202cb..01cbcf158cd9860de2f04c91c5a805108c28b3db 100644 (file)
@@ -1,14 +1,13 @@
 ; This test makes sure that xor instructions are properly eliminated.
 ; This test is for Integer BitWidth <= 64 && BitWidth % 8 != 0.
 
-; RUN: llvm-as < %s | opt -instcombine -disable-output &&
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep 'xor '
+; RUN: opt < %s -instcombine -S | not grep "xor "
 
 
 define i47 @test1(i47 %A, i47 %B) {
         ;; (A & C1)^(B & C2) -> (A & C1)|(B & C2) iff C1&C2 == 0
         %A1 = and i47 %A, 70368744177664
-        %B1 = and i47 %B, 70368744177663
+        %B1 = and i47 %B, 70368744177661
         %C1 = xor i47 %A1, %B1
         ret i47 %C1
 }