aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/extractelement-from-arg.ll
blob: 44704b6adb396d6f84b04ba4499094c52e53ded2 (plain)
1
2
3
4
5
6
7
; RUN: llvm-as %s -o - | llc -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
}