1; RUN: opt < %s -inline -S | FileCheck %s 2; RUN: opt < %s -passes='cgscc(inline)' -S | FileCheck %s 3 4; CHECK-LABEL: caller 5; CHECK: call void @callee 6define void @caller(i32 %a, i1 %b) #0 { 7 call void @callee(i32 %a, i1 %b) 8 unreachable 9} 10 11define void @callee(i32 %a, i1 %b) { 12 call void @extern() 13 call void asm sideeffect "", ""() 14 br i1 %b, label %bb1, label %bb2 15bb1: 16 call void asm sideeffect "", ""() 17 ret void 18bb2: 19 call void asm sideeffect "", ""() 20 ret void 21} 22 23declare void @extern() 24