summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/mmx-insert-element.ll
blob: a063ee1d6cf404ef6be7b10e1ce9c289b5afad29 (plain)
1
2
3
4
5
6
7
; RUN: llc < %s -march=x86 -mattr=+mmx | not grep movq
; RUN: llc < %s -march=x86 -mattr=+mmx | grep psllq

define <2 x i32> @qux(i32 %A) nounwind {
	%tmp3 = insertelement <2 x i32> < i32 0, i32 undef >, i32 %A, i32 1		; <<2 x i32>> [#uses=1]
	ret <2 x i32> %tmp3
}
OpenPOWER on IntegriCloud