YouCompleteMe/cpp/llvm/test/Transforms/ADCE/dce_pure_call.ll

9 lines
171 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; RUN: opt -adce -S < %s | not grep call
declare i32 @strlen(i8*) readonly nounwind
define void @test() {
call i32 @strlen( i8* null ) ; <i32>:1 [#uses=0]
ret void
}