llvm-6502/test/CodeGen/X86/extractelement-from-arg.ll
Dan Gohman e40c7b0973 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42264 91177308-0d34-0410-b5e6-96231b3b80d8
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
}