rnk added a comment. I ended up putting together this small cleanup around calling conventions first: https://reviews.llvm.org/D56883 Repository: rL LLVM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D56275/new/ https://reviews.llvm.org/D56275