summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/vec_set-D.ll
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2016-04-01 17:40:25 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2016-04-01 17:40:25 +0000
commit41e31ff6bd9866ce9843f9607ddff356a46a782c (patch)
treee0a76cb7743da374a672b83594396ad27d59cd7a /llvm/test/CodeGen/X86/vec_set-D.ll
parentf854b042e70fa85a32c8e71301686aab06913217 (diff)
downloadbcm5719-llvm-41e31ff6bd9866ce9843f9607ddff356a46a782c.tar.gz
bcm5719-llvm-41e31ff6bd9866ce9843f9607ddff356a46a782c.zip
[X86][SSE] Regenerated the vec_set tests.
Replaced lots of dodgy greps with actual codegen llvm-svn: 265163
Diffstat (limited to 'llvm/test/CodeGen/X86/vec_set-D.ll')
-rw-r--r--llvm/test/CodeGen/X86/vec_set-D.ll15
1 files changed, 9 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/X86/vec_set-D.ll b/llvm/test/CodeGen/X86/vec_set-D.ll
index 9c1e1acf0ba..f736a4ab45b 100644
--- a/llvm/test/CodeGen/X86/vec_set-D.ll
+++ b/llvm/test/CodeGen/X86/vec_set-D.ll
@@ -1,9 +1,12 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s
-
-; CHECK: movq
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc < %s -mtriple=i386-unknown -mattr=+sse2 | FileCheck %s
define <4 x i32> @t(i32 %x, i32 %y) nounwind {
- %tmp1 = insertelement <4 x i32> zeroinitializer, i32 %x, i32 0
- %tmp2 = insertelement <4 x i32> %tmp1, i32 %y, i32 1
- ret <4 x i32> %tmp2
+; CHECK-LABEL: t:
+; CHECK: # BB#0:
+; CHECK-NEXT: movq {{.*#+}} xmm0 = mem[0],zero
+; CHECK-NEXT: retl
+ %tmp1 = insertelement <4 x i32> zeroinitializer, i32 %x, i32 0
+ %tmp2 = insertelement <4 x i32> %tmp1, i32 %y, i32 1
+ ret <4 x i32> %tmp2
}
OpenPOWER on IntegriCloud