summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/extractelement-from-arg.ll
blob: 4ea37f0c46d3e04f4c7769a57858cd7c82e82a7b (plain)
1
2
3
4
5
6
7
; RUN: llc < %s -march=x86-64 -mattr=+sse2

define void @test(float* %R, <4 x float> %X) nounwind {
	%tmp = extractelement <4 x float> %X, i32 3
	store float %tmp, float* %R
	ret void
}