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