Another step moving away from the deprecated syntax of specifying pass pipeline in opt. Differential Revision: https://reviews.llvm.org/D119081
9 lines
234 B
LLVM
9 lines
234 B
LLVM
; 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
|
|
}
|