llvm-project/llvm/test/CodeGen/X86/extractelement-from-arg.ll

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
}