[llvm-commits] CVS: llvm/test/Regression/Transforms/Inline/2004-04-15-InlineDeletesCall.ll

Chris Lattner lattner at cs.uiuc.edu
Thu Apr 15 15:46:01 PDT 2004


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

2004-04-15-InlineDeletesCall.ll added (r1.1)

---
Log message:

New testcase that Brian provided which crashes the inliner


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

Index: llvm/test/Regression/Transforms/Inline/2004-04-15-InlineDeletesCall.ll
diff -c /dev/null llvm/test/Regression/Transforms/Inline/2004-04-15-InlineDeletesCall.ll:1.1
*** /dev/null	Thu Apr 15 15:45:56 2004
--- llvm/test/Regression/Transforms/Inline/2004-04-15-InlineDeletesCall.ll	Thu Apr 15 15:45:45 2004
***************
*** 0 ****
--- 1,21 ----
+ ; RUN: llvm-as < %s | opt -inline -disable-output
+ 
+ ; Inlining the first call caused the inliner function to delete the second
+ ; call.  Then the inliner tries to inline the second call, which no longer
+ ; exists.
+ 
+ implementation
+ 
+ internal void %Callee1() {
+ 	unwind
+ }
+ 
+ void %Callee2() {
+ 	ret void
+ }
+ 
+ void %caller() {
+ 	call void %Callee1()
+ 	call void %Callee2()
+ 	ret void
+ }





More information about the llvm-commits mailing list