64ac736ec5
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
17 lines
298 B
LLVM
17 lines
298 B
LLVM
; RUN: opt < %s -partial-inliner -disable-output
|
|
; RUN: opt < %s -passes=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
|
|
}
|