Sign in
swiftshader
/
SwiftShader
/
609b4e6e86d6555c4af0ea51a2d1eb54bc7b36d6
/
.
/
third_party
/
llvm-7.0
/
llvm
/
test
/
Transforms
/
DeadArgElim
/
2007-10-18-VarargsReturn.ll
blob: 9bbc275ae7d73204b6d2f4adc9c4ac385cf1081f [
file
] [
log
] [
blame
]
; RUN: opt < %s -deadargelim -S | not grep "ret i32 0"
; PR1735
define
internal
i32
@test
(
i32
%A
,
...
)
{
ret
i32
%A
}
define
i32
@foo
()
{
%A
=
call
i32
(
i32
,
...
)
@test
(
i32
1
)
ret
i32
%A
}