[PATCH] D22529: Inlining of empty/small variadic functions.

Hal Finkel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 24 17:58:04 PST 2017


hfinkel added inline comments.


================
Comment at: lib/Analysis/InlineCost.cpp:903
+      // If A calls a variadic function B and B has a musttail call to C, then
+      // C can do va_start and access args passed from A to B against '...'.
+      // Therefore we can not inline B inside A.
----------------
Really? Does the LangRef guarantee this?


https://reviews.llvm.org/D22529





More information about the llvm-commits mailing list