testcase for the recent inliner improvement.
[oota-llvm.git] / test / Transforms / Inline / 2003-10-13-AllocaDominanceProblem.ll
1 ; RUN: llvm-as < %s | opt -inline -disable-output
2
3 implementation   ; Functions:
4
5 int %reload() {
6 reloadentry:
7         br label %A
8 A:
9         call void %callee( )
10         ret int 0
11 }
12
13 internal void %callee() {
14 entry:
15         %X = alloca sbyte, uint 0
16         %Y = cast int 0 to uint
17         %Z = alloca sbyte, uint %Y
18         ret void
19 }