summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/prefetch.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/prefetch.ll')
-rw-r--r--llvm/test/CodeGen/X86/prefetch.ll9
1 files changed, 5 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/X86/prefetch.ll b/llvm/test/CodeGen/X86/prefetch.ll
index 003ce33fece..d6517f7ef5b 100644
--- a/llvm/test/CodeGen/X86/prefetch.ll
+++ b/llvm/test/CodeGen/X86/prefetch.ll
@@ -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:
OpenPOWER on IntegriCloud