summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/2008-05-22-FoldUnalignedLoad.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/2008-05-22-FoldUnalignedLoad.ll')
-rw-r--r--llvm/test/CodeGen/X86/2008-05-22-FoldUnalignedLoad.ll8
1 files changed, 7 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/2008-05-22-FoldUnalignedLoad.ll b/llvm/test/CodeGen/X86/2008-05-22-FoldUnalignedLoad.ll
index 58e36e8946a..fc38135032c 100644
--- a/llvm/test/CodeGen/X86/2008-05-22-FoldUnalignedLoad.ll
+++ b/llvm/test/CodeGen/X86/2008-05-22-FoldUnalignedLoad.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=penryn | 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>)
OpenPOWER on IntegriCloud