Home | History | Annotate | Download | only in Inline
      1 ; RUN: opt < %s -always-inline -S | not grep call 
      2 
      3 ; Ensure that threshold doesn't disrupt always inline.
      4 ; RUN: opt < %s -inline-threshold=-2000000001 -always-inline -S | not grep call 
      5 
      6 
      7 define internal i32 @if0() alwaysinline {
      8        ret i32 1 
      9 }
     10 
     11 define i32 @f0() {
     12        %r = call i32 @if0()
     13        ret i32 %r
     14 }
     15