There is no "-mattr=+sse1" flag; fix test for non-x86 hosts.
authorDale Johannesen <dalej@apple.com>
Mon, 10 Mar 2008 17:13:37 +0000 (17:13 +0000)
committerDale Johannesen <dalej@apple.com>
Mon, 10 Mar 2008 17:13:37 +0000 (17:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48156 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/prefetch.ll

index bcc6e3ad3dd2137bf2bbe9d5fa143e852a7fed50..003ce33feceed50bef5a621703a7499da70fbea4 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse1 | grep prefetchnta
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse1 | grep prefetcht0
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse1 | grep prefetcht1
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse1 | grep prefetcht2
+; 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
 
 define void @t(i8* %ptr) nounwind  {
 entry: