[PATCH] ArgumentPromotion: Don't hack on functions containing musttail calls

Nick Lewycky nicholas at mxc.ca
Sat Jul 12 23:21:56 PDT 2014


================
Comment at: test/Transforms/ArgumentPromotion/tail.ll:22
@@ +21,3 @@
+
+; Don't fire on musttail calls, since the calling convention can't be changed.
+declare i8* @musttail_inner(%pair* byval)
----------------
This comment was the reason for my question about it being overly conservative. Could you reword this to be more specific about what we can't do?

http://reviews.llvm.org/D4352






More information about the llvm-commits mailing list