Convert several tests to use temporary files instead of redundantly
[oota-llvm.git] / test / CodeGen / X86 / prefetch.ll
index 003ce33feceed50bef5a621703a7499da70fbea4..d6517f7ef5b13131b2f89f592357d983e81bb9a5 100644 (file)
@@ -1,7 +1,8 @@
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse | grep prefetchnta
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse | grep prefetcht0
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse | grep prefetcht1
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse | grep prefetcht2
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse > %t
+; RUN: grep prefetchnta %t
+; RUN: grep prefetcht0 %t
+; RUN: grep prefetcht1 %t
+; RUN: grep prefetcht2 %t
 
 define void @t(i8* %ptr) nounwind  {
 entry: