2009-09-12 02:01:28 +08:00
|
|
|
; RUN: opt < %s -inline -disable-output
|
2003-10-14 09:04:12 +08:00
|
|
|
|
2008-03-01 17:15:35 +08:00
|
|
|
define i32 @reload() {
|
2003-10-14 09:04:12 +08:00
|
|
|
reloadentry:
|
2008-03-01 17:15:35 +08:00
|
|
|
br label %A
|
|
|
|
|
|
|
|
A: ; preds = %reloadentry
|
|
|
|
call void @callee( )
|
|
|
|
ret i32 0
|
2003-10-14 09:04:12 +08:00
|
|
|
}
|
|
|
|
|
2008-03-01 17:15:35 +08:00
|
|
|
define internal void @callee() {
|
2003-10-14 09:04:12 +08:00
|
|
|
entry:
|
2008-03-01 17:15:35 +08: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 09:04:12 +08:00
|
|
|
}
|
2008-03-01 17:15:35 +08:00
|
|
|
|