llvm-6502/test/Transforms/Inline/2003-10-13-AllocaDominanceProblem.ll
2006-12-02 04:23:10 +00:00

20 lines
303 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | 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
}