Home | History | Annotate | Download | only in Inline
      1 ; RUN: opt < %s -inline -S | FileCheck %s
      2 
      3 ; CHECK-LABEL: caller
      4 ; CHECK: call void @callee
      5 define void @caller(i32 %a, i1 %b) #0 {
      6   call void @callee(i32 %a, i1 %b)
      7   unreachable
      8 }
      9 
     10 define void @callee(i32 %a, i1 %b) {
     11   call void asm sideeffect "", ""()
     12   br i1 %b, label %bb1, label %bb2
     13 bb1:
     14   call void asm sideeffect "", ""()
     15   ret void
     16 bb2:
     17   call void asm sideeffect "", ""()
     18   ret void
     19 }
     20