2008-03-01 09:15:35 +00:00
|
|
|
; RUN: llvm-as < %s | opt -inline -disable-output
|
2003-10-14 01:04:12 +00:00
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
define i32 @reload() {
|
2003-10-14 01:04:12 +00:00
|
|
|
reloadentry:
|
2008-03-01 09:15:35 +00:00
|
|
|
br label %A
|
|
|
|
|
|
|
|
A: ; preds = %reloadentry
|
|
|
|
call void @callee( )
|
|
|
|
ret i32 0
|
2003-10-14 01:04:12 +00:00
|
|
|
}
|
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
define internal void @callee() {
|
2003-10-14 01:04:12 +00:00
|
|
|
entry:
|
2008-03-01 09:15:35 +00:00
|
|
|
%X = alloca i8, i32 0 ; <i8*> [#uses=0]
|
|
|
|
%Y = bitcast i32 0 to i32 ; <i32> [#uses=1]
|
|
|
|
%Z = alloca i8, i32 %Y ; <i8*> [#uses=0]
|
|
|
|
ret void
|
2003-10-14 01:04:12 +00:00
|
|
|
}
|
2008-03-01 09:15:35 +00:00
|
|
|
|