aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/nothrow.ll
blob: fbf162a1db84d56af20eec555f69830428c56c3b (plain)
1
2
3
4
5
6
7
8
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | 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
}