fix a missing shuffle pattern, PR9009. Patch by Artiom Myaskouvskey!
[oota-llvm.git] / test / CodeGen / X86 / prefetch.ll
index d6517f7ef5b13131b2f89f592357d983e81bb9a5..48d2673e4884f33d009d58c4ff35acd7d7042d09 100644 (file)
@@ -1,11 +1,11 @@
-; 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
+; RUN: llc < %s -march=x86 -mattr=+sse | FileCheck %s
 
 define void @t(i8* %ptr) nounwind  {
 entry:
+; CHECK: prefetcht2
+; CHECK: prefetcht1
+; CHECK: prefetcht0
+; CHECK: prefetchnta
        tail call void @llvm.prefetch( i8* %ptr, i32 0, i32 1 )
        tail call void @llvm.prefetch( i8* %ptr, i32 0, i32 2 )
        tail call void @llvm.prefetch( i8* %ptr, i32 0, i32 3 )