dce_pure_call.ll 171 B

12345678
  1. ; RUN: opt -adce -S < %s | not grep call
  2. declare i32 @strlen(i8*) readonly nounwind
  3. define void @test() {
  4. call i32 @strlen( i8* null ) ; <i32>:1 [#uses=0]
  5. ret void
  6. }