1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 12:33:33 +02:00
llvm-mirror/test/CodeGen/X86/extractelement-from-arg.ll
Dan Gohman dd675a5064 Use the correct result value type instead of using getValueType(0)
in ExpandEXTRACT_VECTOR_ELT and SplitVectorOp. This fixes an abort
in the included testcase.

llvm-svn: 42264
2007-09-24 15:54:53 +00:00

8 lines
177 B
LLVM

; RUN: llvm-as %s -o - | llc -march=x86-64
define void @test(float* %R, <4 x float> %X) {
%tmp = extractelement <4 x float> %X, i32 3
store float %tmp, float* %R
ret void
}