diff options
Diffstat (limited to 'test/CodeGen/X86/mmx-insert-element.ll')
-rw-r--r-- | test/CodeGen/X86/mmx-insert-element.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/X86/mmx-insert-element.ll b/test/CodeGen/X86/mmx-insert-element.ll new file mode 100644 index 0000000..a063ee1 --- /dev/null +++ b/test/CodeGen/X86/mmx-insert-element.ll @@ -0,0 +1,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 +} |