summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/pr10524.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/pr10524.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/pr10524.ll')
-rw-r--r--test/CodeGen/X86/pr10524.ll14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/CodeGen/X86/pr10524.ll b/test/CodeGen/X86/pr10524.ll
new file mode 100644
index 0000000000..ed3e7c5280
--- /dev/null
+++ b/test/CodeGen/X86/pr10524.ll
@@ -0,0 +1,14 @@
+; RUN: llc < %s -march=x86-64 -mattr=+sse2,+sse41
+
+; No check in a crash test
+
+define void @autogen_178513_5000() {
+BB:
+ %Shuff22 = shufflevector <2 x i32> undef, <2 x i32> zeroinitializer, <2 x i32> <i32 3, i32 1>
+ %B26 = sub <2 x i32> %Shuff22, zeroinitializer
+ %S79 = icmp eq <2 x i32> %B26, zeroinitializer
+ %B269 = urem <2 x i1> zeroinitializer, %S79
+ %Se335 = sext <2 x i1> %B269 to <2 x i8>
+ store <2 x i8> %Se335, <2 x i8>* undef
+ ret void
+}