summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/vec_insert-7.ll
blob: 8cfc63aa6bf1b1cdb21d5e964f3703763e9ce6da (plain)
1
2
3
4
5
6
7
8
; RUN: llvm-as < %s | llc -march=x86 -mattr=+mmx -mtriple=i686-apple-darwin9 -o - | grep punpckldq

define <2 x i32> @mmx_movzl(<2 x i32> %x) nounwind  {
entry:
	%tmp3 = insertelement <2 x i32> %x, i32 32, i32 0		; <<2 x i32>> [#uses=1]
	%tmp8 = insertelement <2 x i32> %tmp3, i32 0, i32 1		; <<2 x i32>> [#uses=1]
	ret <2 x i32> %tmp8
}