1 ; RUN: opt -S -partial-inliner %s | FileCheck %s
3 ; CHECK-LABEL: define void @dipsy(
4 ; CHECK-NEXT: call void @tinkywinky.1.ontrue()
5 ; CHECK-NEXT: call void @patatuccio()
9 ; CHECK-LABEL: define internal void @tinkywinky.1.ontrue() {
10 ; CHECK-NEXT: newFuncRoot:
11 ; CHECK-NEXT: br label %ontrue
12 ; CHECK: onfalse{{.*}}:
13 ; CHECK-NEXT: ret void
15 ; CHECK-NEXT: call void @patatino()
16 ; CHECK-NEXT: br label %onfalse{{.*}}
19 declare void @patatino()
20 declare void @patatuccio()
22 define fastcc void @tinkywinky() {
23 br i1 true, label %ontrue, label %onfalse
28 call void @patatuccio()
33 define void @dipsy() {
34 call fastcc void @tinkywinky()