[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/2004-04-04-InstCombineReplaceAllUsesWith.ll

Chris Lattner lattner at cs.uiuc.edu
Sun Apr 4 21:02:01 PDT 2004


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

2004-04-04-InstCombineReplaceAllUsesWith.ll added (r1.1)

---
Log message:

New testcase that crashes the instcombine pass.  Dominance properties have
no meaning if the code is not reachable.


---
Diffs of the changes:  (+8 -0)

Index: llvm/test/Regression/Transforms/InstCombine/2004-04-04-InstCombineReplaceAllUsesWith.ll
diff -c /dev/null llvm/test/Regression/Transforms/InstCombine/2004-04-04-InstCombineReplaceAllUsesWith.ll:1.1
*** /dev/null	Sun Apr  4 21:01:42 2004
--- llvm/test/Regression/Transforms/InstCombine/2004-04-04-InstCombineReplaceAllUsesWith.ll	Sun Apr  4 21:01:32 2004
***************
*** 0 ****
--- 1,8 ----
+ ; RUN: llvm-as < %s | opt -instcombine -disable-output
+ 
+ int %test() {
+ 	ret int 0
+ Loop:
+ 	%X = add int %X, 1
+ 	br label %Loop
+ }





More information about the llvm-commits mailing list