joker.eph added a comment. If these are dead calls, why don't we constant fold them away to a no-op? Also do we want a separate pass or could/should it be part of ADCE? Repository: rL LLVM http://reviews.llvm.org/D18784