mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 23:42:52 +01:00
ef93b4f931
llvm-svn: 12806
10 lines
180 B
LLVM
10 lines
180 B
LLVM
; RUN: llvm-as < %s | opt -adce | llvm-dis | not grep call
|
|
|
|
declare int %strlen(sbyte*)
|
|
|
|
void %test() {
|
|
;; Dead call should be deleted!
|
|
call int %strlen(sbyte *null)
|
|
ret void
|
|
}
|