diff options
Diffstat (limited to 'test/CodeGen/X86/vec_set-E.ll')
-rw-r--r-- | test/CodeGen/X86/vec_set-E.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/X86/vec_set-E.ll b/test/CodeGen/X86/vec_set-E.ll new file mode 100644 index 000000000000..ee63234cc978 --- /dev/null +++ b/test/CodeGen/X86/vec_set-E.ll @@ -0,0 +1,9 @@ +; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep movq + +define <4 x float> @t(float %X) nounwind { + %tmp11 = insertelement <4 x float> undef, float %X, i32 0 + %tmp12 = insertelement <4 x float> %tmp11, float %X, i32 1 + %tmp27 = insertelement <4 x float> %tmp12, float 0.000000e+00, i32 2 + %tmp28 = insertelement <4 x float> %tmp27, float 0.000000e+00, i32 3 + ret <4 x float> %tmp28 +} |