Home | History | Annotate | Download | only in IPConstantProp
      1 ; RUN: opt < %s -ipconstprop -deadargelim -S | not grep %X
      2 define internal i32 @foo(i32 %X) {
      3         %Y = call i32 @foo( i32 %X )            ; <i32> [#uses=1]
      4         %Z = add i32 %Y, 1              ; <i32> [#uses=1]
      5         ret i32 %Z
      6 }
      7 
      8 define void @bar() {
      9         call i32 @foo( i32 17 )         ; <i32>:1 [#uses=0]
     10         ret void
     11 }
     12 
     13