Revert "Rewrite a test to count emitted instructions without using -stats"
[oota-llvm.git] / test / CodeGen / Thumb / iabs.ll
index d03b5b2e3beff86d9b102a320147ef812db470aa..2e77660c45c1d72773c517ab6cc2421752058173 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=thumb -stats |& \
-; RUN:   grep {4 .*Number of machine instrs printed}
+; RUN: llc < %s -march=thumb -stats 2>&1 | \
+; RUN:   grep "4 .*Number of machine instrs printed"
 
 ;; Integer absolute value, should produce something as good as:
 ;; Thumb: