[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/2003-06-05-BranchInvertInfLoop.ll

Chris Lattner lattner at cs.uiuc.edu
Thu Jun 5 15:13:01 PDT 2003


Changes in directory llvm/test/Regression/Transforms/InstCombine:

2003-06-05-BranchInvertInfLoop.ll added (r1.1)

---
Log message:

New testcase


---
Diffs of the changes:

Index: llvm/test/Regression/Transforms/InstCombine/2003-06-05-BranchInvertInfLoop.ll
diff -c /dev/null llvm/test/Regression/Transforms/InstCombine/2003-06-05-BranchInvertInfLoop.ll:1.1
*** /dev/null	Thu Jun  5 15:12:42 2003
--- llvm/test/Regression/Transforms/InstCombine/2003-06-05-BranchInvertInfLoop.ll	Thu Jun  5 15:12:32 2003
***************
*** 0 ****
--- 1,14 ----
+ ; This testcase causes an infinite loop in the instruction combiner,
+ ; because it things that the constant value is a not expression... and 
+ ; constantly inverts the branch back and forth.
+ ;
+ ; RUN: as < %s | opt -instcombine -disable-output
+ 
+ ubyte %test19(bool %c) {
+         br bool true, label %True, label %False
+ True:
+         ret ubyte 1
+ False:
+         ret ubyte 3
+ }
+ 





More information about the llvm-commits mailing list