16 lines
242 B
LLVM
16 lines
242 B
LLVM
|
; RUN: opt < %s -partial-inliner -disable-output
|
||
|
|
||
|
define i32 @f() {
|
||
|
entry:
|
||
|
br label %return
|
||
|
|
||
|
return: ; preds = %entry
|
||
|
ret i32 undef
|
||
|
}
|
||
|
|
||
|
define i32 @g() {
|
||
|
entry:
|
||
|
%0 = call i32 @f()
|
||
|
ret i32 %0
|
||
|
}
|