llvm.org GIT mirror llvm / release_26 test / CodeGen / X86 / mmx-insert-element.ll
release_26

Tree @release_26 (Download .tar.gz)

mmx-insert-element.ll @release_26raw · history · blame

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
}