New test.
[oota-llvm.git] / test / CodeGen / X86 / regpressure.ll
index c3c681c30c75e6587edf6df3ca26260343d65da4..056756432008e89c9ef34fce3e3d7c1c37adec39 100644 (file)
@@ -1,7 +1,8 @@
 ;; Both functions in this testcase should codegen to the same function, and
 ;; neither of them should require spilling anything to the stack.
 
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -stats  2>&1 | not grep 'Number of register spills'
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -stats |& \
+; RUN:   not grep {Number of register spills}
 
 ;; This can be compiled to use three registers if the loads are not
 ;; folded into the multiplies, 2 registers otherwise.