Sign in
llvm
/
llvm-project
/
llvm
/
6a4c0551fbd905397666676142d59af81585c2cb
/
.
/
test
/
Transforms
/
InstCombine
/
nothrow.ll
blob: 7deb4f0f0272c2bde24a3cb403518e7dd485ca28 [
file
] [
log
] [
blame
]
; RUN: opt < %s -passes=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
}