summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2008-05-22-FoldUnalignedLoad.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/2008-05-22-FoldUnalignedLoad.ll')
-rw-r--r--test/CodeGen/X86/2008-05-22-FoldUnalignedLoad.ll8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/CodeGen/X86/2008-05-22-FoldUnalignedLoad.ll b/test/CodeGen/X86/2008-05-22-FoldUnalignedLoad.ll
index 19a73543c65e..fc38135032c2 100644
--- a/test/CodeGen/X86/2008-05-22-FoldUnalignedLoad.ll
+++ b/test/CodeGen/X86/2008-05-22-FoldUnalignedLoad.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2 | grep movups | count 2
+; RUN: llc < %s -march=x86 -mcpu=penryn | FileCheck %s
define void @a(<4 x float>* %x) nounwind {
entry:
@@ -8,4 +8,10 @@ entry:
ret void
}
+; CHECK: a:
+; CHECK: movups
+; CHECK: movups
+; CHECK-NOT: movups
+; CHECK: ret
+
declare <4 x float> @llvm.x86.sse.rcp.ps(<4 x float>)