Sign in
llvm
/
llvm-project
/
a87782c34d667d1c1a18fe82a9a7abfc72fd345b
/
.
/
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
}