Home | History | Annotate | Download | only in Inline
      1 ; RUN: opt < %s -inline -S | not grep callee
      2 ; rdar://6655932
      3 
      4 ; If callee is marked alwaysinline, inline it! Even if callee has dynamic
      5 ; alloca and caller does not,
      6 
      7 define internal void @callee(i32 %N) alwaysinline {
      8         %P = alloca i32, i32 %N
      9         ret void
     10 }
     11 
     12 define void @foo(i32 %N) {
     13         call void @callee( i32 %N )
     14         ret void
     15 }
     16