[llvm-commits] CVS: llvm/test/Regression/Transforms/Inline/2003-10-13-AllocaDominanceProblem.ll

Chris Lattner lattner at cs.uiuc.edu
Mon Oct 13 20:05:01 PDT 2003


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

2003-10-13-AllocaDominanceProblem.ll added (r1.1)

---
Log message:

New testcase which the inliner breaks


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

Index: llvm/test/Regression/Transforms/Inline/2003-10-13-AllocaDominanceProblem.ll
diff -c /dev/null llvm/test/Regression/Transforms/Inline/2003-10-13-AllocaDominanceProblem.ll:1.1
*** /dev/null	Mon Oct 13 20:04:22 2003
--- llvm/test/Regression/Transforms/Inline/2003-10-13-AllocaDominanceProblem.ll	Mon Oct 13 20:04:12 2003
***************
*** 0 ****
--- 1,19 ----
+ ; RUN: llvm-as < %s | opt -inline -disable-output
+ 
+ implementation   ; Functions:
+ 
+ int %reload() {
+ reloadentry:
+ 	br label %A
+ A:
+ 	call void %callee( )
+ 	ret int 0
+ }
+ 
+ internal void %callee() {
+ entry:
+ 	%X = alloca sbyte, uint 0
+ 	%Y = cast int 0 to uint
+ 	%Z = alloca sbyte, uint %Y
+ 	ret void
+ }





More information about the llvm-commits mailing list