summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2009-06-05-ScalarToVectorByteMMX.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/2009-06-05-ScalarToVectorByteMMX.ll')
-rw-r--r--test/CodeGen/X86/2009-06-05-ScalarToVectorByteMMX.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2009-06-05-ScalarToVectorByteMMX.ll b/test/CodeGen/X86/2009-06-05-ScalarToVectorByteMMX.ll
new file mode 100644
index 0000000..336f17e
--- /dev/null
+++ b/test/CodeGen/X86/2009-06-05-ScalarToVectorByteMMX.ll
@@ -0,0 +1,7 @@
+; RUN: llc < %s -march=x86 -mattr=+mmx | not grep movl
+
+define <8 x i8> @a(i8 zeroext %x) nounwind {
+ %r = insertelement <8 x i8> undef, i8 %x, i32 0
+ ret <8 x i8> %r
+}
+