[x86] Fix disassembly of callw instruction
[oota-llvm.git] / test / Transforms / InstCombine / and-xor-merge.ll
index c53ebc6f3d3d1a83dde4d702c208d4d4ffe78b05..e432a9aef7d14f282e47d63248d6500a11826e39 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep and | wc -l | grep 1
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep xor | wc -l | grep 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) {