Improve the grep commands for this test to be tolerant of ABI
[oota-llvm.git] / test / CodeGen / X86 / 2007-01-13-StackPtrIndex.ll
index 7e77cce41e7f4616a3e7ee757fdd8227a9ff063c..d1d0ea8457810c918c5c59f7483543280a72ab97 100644 (file)
@@ -1,5 +1,6 @@
-; RUN: llvm-as < %s | llc -march=x86-64 -pre-RA-sched=none | grep leaq
-; RUN: llvm-as < %s | llc -march=x86-64 -pre-RA-sched=none | not grep {,%rsp)}
+; RUN: llvm-as < %s | llc -march=x86-64 > %t
+; RUN: grep leaq %t
+; RUN: not grep {,%rsp)} %t
 ; PR1103
 
 target datalayout = "e-p:64:64"