aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/pr11998.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/pr11998.ll
parent7590022f4079dcd956b99e2f10a028f2158ece53 (diff)
downloadexternal_llvm-28432220333c0a8e6457056c1f91f8ffdfd8602d.zip
external_llvm-28432220333c0a8e6457056c1f91f8ffdfd8602d.tar.gz
external_llvm-28432220333c0a8e6457056c1f91f8ffdfd8602d.tar.bz2
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/pr11998.ll')
-rw-r--r--test/CodeGen/X86/pr11998.ll18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/CodeGen/X86/pr11998.ll b/test/CodeGen/X86/pr11998.ll
new file mode 100644
index 0000000..1baf079
--- /dev/null
+++ b/test/CodeGen/X86/pr11998.ll
@@ -0,0 +1,18 @@
+; RUN: llc < %s -mcpu=corei7-avx -march=x86-64 -mattr=+avx
+
+define void @autogen_51367_5000(i8) {
+BB:
+ %B = srem i8 55, %0
+ %B9 = shl i8 %B, %B
+ br label %CF
+
+CF: ; preds = %CF, %BB
+ br i1 undef, label %CF, label %CF403
+
+CF403: ; preds = %CF403, %CF
+ %S44 = icmp eq i8 %B9, %0
+ br i1 %S44, label %CF403, label %CF405
+
+CF405: ; preds = %CF405, %CF403
+ br label %CF405
+}