[llvm-commits] CVS: llvm/test/Regression/Transforms/LoopSimplify/2004-04-13-LoopSimplifyUpdateDomFrontier.ll
Chris Lattner
lattner at cs.uiuc.edu
Tue Apr 13 11:23:01 PDT 2004
Changes in directory llvm/test/Regression/Transforms/LoopSimplify:
2004-04-13-LoopSimplifyUpdateDomFrontier.ll added (r1.1)
---
Log message:
New testcase where loop simplify is not updating domfrontiers correctly
---
Diffs of the changes: (+22 -0)
Index: llvm/test/Regression/Transforms/LoopSimplify/2004-04-13-LoopSimplifyUpdateDomFrontier.ll
diff -c /dev/null llvm/test/Regression/Transforms/LoopSimplify/2004-04-13-LoopSimplifyUpdateDomFrontier.ll:1.1
*** /dev/null Tue Apr 13 11:22:14 2004
--- llvm/test/Regression/Transforms/LoopSimplify/2004-04-13-LoopSimplifyUpdateDomFrontier.ll Tue Apr 13 11:22:04 2004
***************
*** 0 ****
--- 1,22 ----
+ ; RUN: llvm-as < %s | opt -scalarrepl -loopsimplify -licm -disable-output
+
+ implementation ; Functions:
+
+ void %inflate() {
+ entry:
+ br label %loopentry.0.outer1111
+
+ loopentry.0.outer1111: ; preds = %entry, %loopentry.0.outer1111, %label.11, %then.41
+ %left.0.ph1107 = phi uint [ %tmp.1172, %then.41 ], [ 0, %entry ], [ %tmp.1172, %label.11 ], [ %left.0.ph1107, %loopentry.0.outer1111 ] ; <uint> [#uses=2]
+ %tmp.1172 = sub uint %left.0.ph1107, 0 ; <uint> [#uses=2]
+ switch uint 0, label %label.11 [
+ uint 23, label %loopentry.0.outer1111
+ uint 13, label %then.41
+ ]
+
+ label.11: ; preds = %loopentry.0.outer1111
+ br label %loopentry.0.outer1111
+
+ then.41: ; preds = %loopentry.0.outer1111
+ br label %loopentry.0.outer1111
+ }
More information about the llvm-commits
mailing list