summaryrefslogtreecommitdiff
path: root/test/Transforms/PredicateSimplifier/2006-11-05-CycleGTLT.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/PredicateSimplifier/2006-11-05-CycleGTLT.ll')
-rw-r--r--test/Transforms/PredicateSimplifier/2006-11-05-CycleGTLT.ll13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/Transforms/PredicateSimplifier/2006-11-05-CycleGTLT.ll b/test/Transforms/PredicateSimplifier/2006-11-05-CycleGTLT.ll
new file mode 100644
index 000000000000..87e0e16b5eea
--- /dev/null
+++ b/test/Transforms/PredicateSimplifier/2006-11-05-CycleGTLT.ll
@@ -0,0 +1,13 @@
+; RUN: llvm-as < %s | opt -predsimplify -disable-output
+
+define void @diff(i32 %N) {
+entry:
+ %tmp = icmp sgt i32 %N, 0 ; <i1> [#uses=1]
+ br i1 %tmp, label %bb519, label %bb744
+bb519: ; preds = %entry
+ %tmp720101 = icmp slt i32 %N, 0 ; <i1> [#uses=1]
+ br i1 %tmp720101, label %bb744, label %bb744
+bb744: ; preds = %bb519, %bb519, %entry
+ ret void
+}
+