[llvm-commits] [llvm] r112635 - in /llvm/trunk/test/Transforms/JumpThreading: 2010-08-31-InfiniteRecursion.ll crash.ll
Owen Anderson
resistor at mac.com
Tue Aug 31 13:27:17 PDT 2010
Author: resistor
Date: Tue Aug 31 15:27:17 2010
New Revision: 112635
URL: http://llvm.org/viewvc/llvm-project?rev=112635&view=rev
Log:
Merge 2010-08-31-InfiniteRecursion.ll into crash.ll.
Removed:
llvm/trunk/test/Transforms/JumpThreading/2010-08-31-InfiniteRecursion.ll
Modified:
llvm/trunk/test/Transforms/JumpThreading/crash.ll
Removed: llvm/trunk/test/Transforms/JumpThreading/2010-08-31-InfiniteRecursion.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/JumpThreading/2010-08-31-InfiniteRecursion.ll?rev=112634&view=auto
==============================================================================
--- llvm/trunk/test/Transforms/JumpThreading/2010-08-31-InfiniteRecursion.ll (original)
+++ llvm/trunk/test/Transforms/JumpThreading/2010-08-31-InfiniteRecursion.ll (removed)
@@ -1,25 +0,0 @@
-; RUN: opt < %s -jump-threading -disable-output
-
-define void @test() nounwind ssp {
-entry:
- br i1 undef, label %bb269.us.us, label %bb269.us.us.us
-
-bb269.us.us.us:
- %indvar = phi i64 [ %indvar.next, %bb287.us.us.us ], [ 0, %entry ]
- %0 = icmp eq i16 undef, 0
- br i1 %0, label %bb287.us.us.us, label %bb286.us.us.us
-
-bb287.us.us.us:
- %indvar.next = add i64 %indvar, 1
- %exitcond = icmp eq i64 %indvar.next, 4
- br i1 %exitcond, label %bb288.bb289.loopexit_crit_edge, label %bb269.us.us.us
-
-bb286.us.us.us:
- unreachable
-
-bb269.us.us:
- unreachable
-
-bb288.bb289.loopexit_crit_edge:
- unreachable
-}
Modified: llvm/trunk/test/Transforms/JumpThreading/crash.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/JumpThreading/crash.ll?rev=112635&r1=112634&r2=112635&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/JumpThreading/crash.ll (original)
+++ llvm/trunk/test/Transforms/JumpThreading/crash.ll Tue Aug 31 15:27:17 2010
@@ -461,3 +461,26 @@
ret void
}
+define void @test17() {
+entry:
+ br i1 undef, label %bb269.us.us, label %bb269.us.us.us
+
+bb269.us.us.us:
+ %indvar = phi i64 [ %indvar.next, %bb287.us.us.us ], [ 0, %entry ]
+ %0 = icmp eq i16 undef, 0
+ br i1 %0, label %bb287.us.us.us, label %bb286.us.us.us
+
+bb287.us.us.us:
+ %indvar.next = add i64 %indvar, 1
+ %exitcond = icmp eq i64 %indvar.next, 4
+ br i1 %exitcond, label %bb288.bb289.loopexit_crit_edge, label %bb269.us.us.us
+
+bb286.us.us.us:
+ unreachable
+
+bb269.us.us:
+ unreachable
+
+bb288.bb289.loopexit_crit_edge:
+ unreachable
+}
More information about the llvm-commits
mailing list