Two sets of changes. Sorry they are intermingled.
[oota-llvm.git] / test / CodeGen / ARM / ifcvt7.ll
index 4816cea50fb02e9a5be7cc1cf9928fb6431c791b..eb97085ac00407327dbc44b69768eb395d7de898 100644 (file)
@@ -1,14 +1,9 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=arm -mtriple=arm-apple-darwin -enable-arm-if-conversion
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=arm -mtriple=arm-apple-darwin -enable-arm-if-conversion | \
-; RUN:   grep cmpeq | wc -l | grep 1
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=arm -mtriple=arm-apple-darwin -enable-arm-if-conversion | \
-; RUN:   grep moveq | wc -l | grep 1
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=arm -mtriple=arm-apple-darwin -enable-arm-if-conversion | \
-; RUN:   grep ldmeq | wc -l | grep 1
+; RUN: llc < %s -march=arm -mtriple=arm-apple-darwin | \
+; RUN:   grep cmpeq | count 1
+; RUN: llc < %s -march=arm -mtriple=arm-apple-darwin | \
+; RUN:   grep moveq | count 1
+; RUN: llc < %s -march=arm -mtriple=arm-apple-darwin | \
+; RUN:   grep ldmiaeq | count 1
 ; FIXME: Need post-ifcvt branch folding to get rid of the extra br at end of BB1.
 
        %struct.quad_struct = type { i32, i32, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct* }