summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitd10584e38b385da50cb2ad0c483bc1579ca9ef54 (patch)
tree920bf18c69a3479c79c8ecaa72d4b4ff7063e0eb /llvm/test/CodeGen/X86/pr10526.ll
parentb3864609cfcab15be0c4e67eb389cd14c054aab8 (diff)
downloadbcm5719-llvm-d10584e38b385da50cb2ad0c483bc1579ca9ef54.tar.gz
bcm5719-llvm-d10584e38b385da50cb2ad0c483bc1579ca9ef54.zip
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. llvm-svn: 176369
Diffstat (limited to 'llvm/test/CodeGen/X86/pr10526.ll')
-rw-r--r--llvm/test/CodeGen/X86/pr10526.ll13
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/pr10526.ll b/llvm/test/CodeGen/X86/pr10526.ll
new file mode 100644
index 00000000000..6963fe51589
--- /dev/null
+++ b/llvm/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
+}
OpenPOWER on IntegriCloud