Fix bogus assertion using getSExtValue for legitimate values, like -1 in
[oota-llvm.git] / test / Transforms / ADCE / dce_pure_call.ll
1 ; RUN: llvm-as < %s | opt -adce | llvm-dis | not grep call
2
3 declare i32 @strlen(i8*) readonly
4
5 define void @test() {
6         call i32 @strlen( i8* null ) readonly           ; <i32>:1 [#uses=0]
7         ret void
8 }