[llvm-commits] CVS: llvm/test/Regression/Transforms/BranchCombine/2004-06-01-Simple.ll
Brian Gaeke
gaeke at cs.uiuc.edu
Tue Jun 1 15:02:04 PDT 2004
Changes in directory llvm/test/Regression/Transforms/BranchCombine:
2004-06-01-Simple.ll added (r1.1)
---
Log message:
Maybe this will keep people from breaking -branch-combine!
---
Diffs of the changes: (+24 -0)
Index: llvm/test/Regression/Transforms/BranchCombine/2004-06-01-Simple.ll
diff -c /dev/null llvm/test/Regression/Transforms/BranchCombine/2004-06-01-Simple.ll:1.1
*** /dev/null Tue Jun 1 15:01:16 2004
--- llvm/test/Regression/Transforms/BranchCombine/2004-06-01-Simple.ll Tue Jun 1 15:01:05 2004
***************
*** 0 ****
--- 1,24 ----
+ ; Basic test of -branch-combine functionality
+ ; RUN: llvm-as < %s | opt -branch-combine | llvm-dis | egrep 'newCommon:.*; preds =.*no_exit.1' | grep loopentry.2
+
+ target endian = big
+ target pointersize = 64
+
+ implementation ; Functions:
+
+ void %main() {
+ entry:
+ br bool false, label %__main.entry, label %endif.0.i
+
+ endif.0.i: ; preds = %entry
+ ret void
+
+ __main.entry: ; preds = %entry
+ br label %no_exit.1
+
+ no_exit.1: ; preds = %__main.entry, %no_exit.1, %loopentry.2
+ br bool false, label %loopentry.2, label %no_exit.1
+
+ loopentry.2: ; preds = %no_exit.1
+ br label %no_exit.1
+ }
More information about the llvm-commits
mailing list