Use "opt < %s" instead of "opt %s" so that opt doesn't print the test
[oota-llvm.git] / test / Transforms / InstCombine / or-to-xor.ll
index f403412bd5c862aa19aed0787144459957e35efa..1495ee49709f0f743e2742dd5b049ee143b591e7 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {xor i32 %b, %a} | count 4
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep {and}
+; RUN: opt < %s -instcombine -S | grep {xor i32 %a, %b} | count 4
+; RUN: opt < %s -instcombine -S | not grep {and}
 
 define i32 @func1(i32 %a, i32 %b) nounwind readnone {
 entry: