Sign in
llvm
/
llvm-project
/
llvm
/
b72b4128f221fd5086a1ae46aba7b2fcbf0d6384
/
.
/
test
/
Transforms
/
DeadArgElim
/
2007-02-07-FuncRename.ll
blob: 5096aff3eb029841697ec1a30c960e6fb8df5706 [
file
] [
log
] [
blame
]
; RUN: opt < %s -passes=deadargelim -S | grep "@test("
; RUN: opt < %s -passes=deadargelim -S | not grep dead
define
internal
i32
@test
(
i32
%X
,
i32
%dead
)
{
ret
i32
%X
}
define
i32
@caller
()
{
%A
=
call
i32
@test
(
i32
123
,
i32
456
)
ret
i32
%A
}