Home | History | Annotate | Download | only in Inline
      1 ; RUN: opt < %s -inline -S | not grep callee
      2 ; RUN: opt < %s -inline -S | not grep div
      3 
      4 
      5 define internal i32 @callee(i32 %A, i32 %B) {
      6         %C = sdiv i32 %A, %B            ; <i32> [#uses=1]
      7         ret i32 %C
      8 }
      9 
     10 define i32 @test() {
     11         %X = call i32 @callee( i32 10, i32 3 )          ; <i32> [#uses=1]
     12         ret i32 %X
     13 }
     14 
     15