From 6c17c6bafa43a486917cd5c1a3e29c95330e2edf Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Fri, 9 May 2008 19:56:32 +0000 Subject: [PATCH] Simplify test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50911 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/vec_set-E.ll | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/CodeGen/X86/vec_set-E.ll b/test/CodeGen/X86/vec_set-E.ll index 9dc193299e2..ee63234cc97 100644 --- a/test/CodeGen/X86/vec_set-E.ll +++ b/test/CodeGen/X86/vec_set-E.ll @@ -1,10 +1,9 @@ ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep movq -define i32 @t(float %X) nounwind { +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 - store <4 x float> %tmp28, <4 x float>* null, align 16 - ret i32 0 + ret <4 x float> %tmp28 }