Move a DenseMap's declaration outside of a loop, and just call
[oota-llvm.git] / test / Transforms / InstCombine / apint-shift-simplify.ll
index 4c352cf817637a2b09db363080a0c434595f5b45..a0046fbacb6bd4c316cd8a8ef06a7356e4200b8f 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
-; RUN:    egrep {shl|lshr|ashr} | wc -l | grep 3
+; RUN:    egrep {shl|lshr|ashr} | count 3
 
 define i41 @test0(i41 %A, i41 %B, i41 %C) {
        %X = shl i41 %A, %C