Sign in
llvm
/
llvm-project
/
858eb8fc11e2e683ef1cef956ac102bfc5f0a1a8
/
.
/
llvm
/
test
/
Transforms
/
InstCombine
/
nothrow.ll
blob: 476b63a6b27f0f940dcf2a67f925ba06512d7d93 [
file
] [
log
] [
blame
]
; RUN: opt < %s -instcombine -S | not grep call
; rdar://6880732
declare
double
@t1
(
i32
)
readonly
willreturn
define
void
@t2
()
nounwind
{
call
double
@t1
(
i32
42
)
;; dead call even though callee is not nothrow.
ret
void
}