Home | History | Annotate | Download | only in Inline
      1 ; RUN: opt < %s -inline -S | not grep tail
      2 
      3 declare void @bar(i32*)
      4 
      5 define internal void @foo(i32* %P) {
      6         tail call void @bar( i32* %P )
      7         ret void
      8 }
      9 
     10 define void @caller() {
     11         %A = alloca i32         ; <i32*> [#uses=1]
     12         call void @foo( i32* %A )
     13         ret void
     14 }
     15 
     16