Move resetTargetOptions from taking a MachineFunction to a Function
[oota-llvm.git] / test / Transforms / InstCombine / and-xor-merge.ll
index 85f8026ab5721cf3c23d0d368dc744618394961f..e432a9aef7d14f282e47d63248d6500a11826e39 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep and | count 1
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep xor | count 2
+; RUN: opt < %s -instcombine -S | grep and | count 1
+; RUN: opt < %s -instcombine -S | grep xor | count 2
 
 ; (x&z) ^ (y&z) -> (x^y)&z
 define i32 @test1(i32 %x, i32 %y, i32 %z) {