llvm-6502/test/CodeGen/X86/mmx-insert-element.ll
2009-09-08 23:54:48 +00:00

8 lines
266 B
LLVM

; 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
}