Merging r259740:
[oota-llvm.git] / test / CodeGen / PowerPC / rlwinm2.ll
index 78127f1ff5620540dfe7229ec461dcd9c3970878..46542d8e09bd058f5afb2c27856974bc9664c0fb 100644 (file)
@@ -1,11 +1,11 @@
 ; All of these ands and shifts should be folded into rlw[i]nm instructions
-; RUN: llvm-as < %s | llc -march=ppc32 -o %t -f
+; RUN: llc < %s -march=ppc32 -o %t
 ; RUN: not grep and %t
 ; RUN: not grep srawi %t 
 ; RUN: not grep srwi %t 
 ; RUN: not grep slwi %t 
-; RUN: grep rlwnm %t | wc -l | grep 1
-; RUN: grep rlwinm %t | wc -l | grep 1
+; RUN: grep rlwnm %t | count 1
+; RUN: grep rlwinm %t | count 1
 
 define i32 @test1(i32 %X, i32 %Y) {
 entry: