summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/pr10525.ll
diff options
context:
space:
mode:
authorMichael Liao <michael.liao@intel.com>2013-03-01 19:23:37 +0000
committerMichael Liao <michael.liao@intel.com>2013-03-01 19:23:37 +0000
commit28432220333c0a8e6457056c1f91f8ffdfd8602d (patch)
tree2057ae222da1c00e923182260c8bc4c4fa3ceca9 /test/CodeGen/X86/pr10525.ll
parent7590022f4079dcd956b99e2f10a028f2158ece53 (diff)
downloadllvm-28432220333c0a8e6457056c1f91f8ffdfd8602d.tar.gz
llvm-28432220333c0a8e6457056c1f91f8ffdfd8602d.tar.bz2
llvm-28432220333c0a8e6457056c1f91f8ffdfd8602d.tar.xz
Add regression tests (WORKSFORME)
- These tests wont't crash on trunk but would be better to add them so that they don't break again in the future. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176369 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/pr10525.ll')
-rw-r--r--test/CodeGen/X86/pr10525.ll13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CodeGen/X86/pr10525.ll b/test/CodeGen/X86/pr10525.ll
new file mode 100644
index 0000000000..342c1d63e1
--- /dev/null
+++ b/test/CodeGen/X86/pr10525.ll
@@ -0,0 +1,13 @@
+; RUN: llc < %s -march=x86-64 -mattr=+sse2,+sse41
+
+; No check in a crash test
+
+define void @autogen_163411_5000() {
+BB:
+ %L = load <2 x i64>* undef
+ %Shuff11 = shufflevector <2 x i64> %L, <2 x i64> %L, <2 x i32> <i32 2, i32 0>
+ %I51 = insertelement <2 x i64> undef, i64 undef, i32 0
+ %Shuff152 = shufflevector <2 x i64> %I51, <2 x i64> %Shuff11, <2 x i32> <i32 1, i32 3>
+ store <2 x i64> %Shuff152, <2 x i64>* undef
+ ret void
+}