[x86] instcombine more cases of insertps into a shufflevector
[oota-llvm.git] / test / Transforms / InstCombine / apint-xor1.ll
index 8daa9cc4426cd09ae79ba3cfddcfb4300afc0cb6..01cbcf158cd9860de2f04c91c5a805108c28b3db 100644 (file)
@@ -1,15 +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 "
 
-implementation
 
 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
 }