Home | History | Annotate | Download | only in DeadArgElim
      1 ; RUN: opt < %s -deadargelim -S | grep {@test(}
      2 ; RUN: opt < %s -deadargelim -S | not grep dead
      3 
      4 define internal i32 @test(i32 %X, i32 %dead) {
      5 	ret i32 %X
      6 }
      7 
      8 define i32 @caller() {
      9 	%A = call i32 @test(i32 123, i32 456)
     10 	ret i32 %A
     11 }
     12