aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2011-10-11-srl.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/2011-10-11-srl.ll')
-rw-r--r--test/CodeGen/X86/2011-10-11-srl.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2011-10-11-srl.ll b/test/CodeGen/X86/2011-10-11-srl.ll
new file mode 100644
index 0000000..cf9d36f
--- /dev/null
+++ b/test/CodeGen/X86/2011-10-11-srl.ll
@@ -0,0 +1,11 @@
+; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7-avx -promote-elements -mattr=-sse41
+
+target triple = "x86_64-unknown-linux-gnu"
+
+define void @m387(<2 x i8>* %p, <2 x i16>* %q) {
+ %t = load <2 x i8>* %p
+ %r = sext <2 x i8> %t to <2 x i16>
+ store <2 x i16> %r, <2 x i16>* %q
+ ret void
+}
+