Home | History | Annotate | Download | only in Inline
      1 ; RUN: opt < %s -inline -S | FileCheck %s
      2 ; RUN: opt < %s -passes='cgscc(inline)' -S | FileCheck %s
      3 
      4 define i32 @fn2() noinline {
      5 ; CHECK-LABEL: define i32 @fn2()
      6 entry:
      7   ret i32 1
      8 }
      9 
     10 define i32 @fn3() {
     11 ; CHECK-LABEL: define i32 @fn3()
     12 entry:
     13   %r = call i32 @fn2()
     14 ; CHECK: call i32 @fn2()
     15 
     16   ret i32 %r
     17 }
     18