nothrow.ll 216 B

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