Home | History | Annotate | Download | only in Inline
      1 ; RUN: opt < %s -inline -S | grep call
      2 
      3 ; 'bar' can be overridden at link-time, don't inline it.
      4 
      5 define void @foo() {
      6 entry:
      7         tail call void @bar( )            ; <i32> [#uses=0]
      8         ret void
      9 }
     10 
     11 define weak void @bar() {
     12         ret void
     13 }
     14 
     15