summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/vec_insert-7.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2010-10-01 21:39:35 +0000
committerBill Wendling <isanbard@gmail.com>2010-10-01 21:39:35 +0000
commitbf73fe5e8d4b24399b3adfd2eb490878558b342c (patch)
treeae231bc4bbdb99c9593c7e9f7142ddae2010209e /llvm/test/CodeGen/X86/vec_insert-7.ll
parent8d88020e920f60f12063b53f90cc1775b7d1578b (diff)
downloadbcm5719-llvm-bf73fe5e8d4b24399b3adfd2eb490878558b342c.tar.gz
bcm5719-llvm-bf73fe5e8d4b24399b3adfd2eb490878558b342c.zip
Need to specify SSE4 for machines which don't have SSE4. The code checked for is generated by SSE4. Otherwise, we get something else.
llvm-svn: 115352
Diffstat (limited to 'llvm/test/CodeGen/X86/vec_insert-7.ll')
-rw-r--r--llvm/test/CodeGen/X86/vec_insert-7.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/vec_insert-7.ll b/llvm/test/CodeGen/X86/vec_insert-7.ll
index 789d2b9fd79..268b5c4bf97 100644
--- a/llvm/test/CodeGen/X86/vec_insert-7.ll
+++ b/llvm/test/CodeGen/X86/vec_insert-7.ll
@@ -1,12 +1,12 @@
-; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 -mtriple=i686-apple-darwin9 | FileCheck %s
+; RUN: llc < %s -march=x86 -mattr=+mmx,+sse42 -mtriple=i686-apple-darwin9 | FileCheck %s
; MMX insertelement is not available; these are promoted to XMM.
; (Without SSE they are split to two ints, and the code is much better.)
define x86_mmx @mmx_movzl(x86_mmx %x) nounwind {
entry:
; CHECK: mmx_movzl
-; FIXMEHECK: pinsrd
-; FIXMEHECK: pinsrd
+; CHECK: pinsrd
+; CHECK: pinsrd
%tmp = bitcast x86_mmx %x to <2 x i32>
%tmp3 = insertelement <2 x i32> %tmp, i32 32, i32 0 ; <<2 x i32>> [#uses=1]
%tmp8 = insertelement <2 x i32> %tmp3, i32 0, i32 1 ; <<2 x i32>> [#uses=1]
OpenPOWER on IntegriCloud