YouCompleteMe/cpp/llvm/test/Transforms/InstCombine/nothrow.ll
2012-07-05 17:51:06 -07:00

9 lines
216 B
LLVM

; RUN: opt < %s -instcombine -S | not grep call
; rdar://6880732
declare double @t1(i32) readonly
define void @t2() nounwind {
call double @t1(i32 42) ;; dead call even though callee is not nothrow.
ret void
}