aprantl added a comment. Assuming that we could usually get the calling convention from the Function — what's the motivation for emitting the calling convention of a subprogram that has been optimized away? http://reviews.llvm.org/D21141