llvm.org GIT mirror llvm / 0a6ee6d test / CodeGen / X86 / extractelement-from-arg.ll
0a6ee6d

Tree @0a6ee6d (Download .tar.gz)

extractelement-from-arg.ll @0a6ee6draw · history · blame

1
2
3
4
5
6
7
; 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
}