summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/pr10526.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/pr10526.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/pr10526.ll')
-rw-r--r--test/CodeGen/X86/pr10526.ll13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CodeGen/X86/pr10526.ll b/test/CodeGen/X86/pr10526.ll
new file mode 100644
index 0000000000..6963fe5158
--- /dev/null
+++ b/test/CodeGen/X86/pr10526.ll
@@ -0,0 +1,13 @@
+; RUN: llc < %s -march=x86-64 -mattr=+sse2,+sse41
+
+; No check in a crash test
+
+define void @autogen_142660_5000() {
+BB:
+ %Shuff49 = shufflevector <8 x i32> zeroinitializer, <8 x i32> undef, <8 x i32> <i32 2, i32 4, i32 undef, i32 8, i32 10, i32 12, i32 14, i32 0>
+ %B85 = sub <8 x i32> %Shuff49, zeroinitializer
+ %S242 = icmp eq <8 x i32> zeroinitializer, %B85
+ %FC284 = uitofp <8 x i1> %S242 to <8 x float>
+ store <8 x float> %FC284, <8 x float>* undef
+ ret void
+}