[PATCH] D34471: [Inliner] Boost inlining of an indirect call to always_inline function.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 22 11:42:57 PDT 2017


efriedma added a comment.

This seems likely to lead to surprising behavior.  LastCallToStaticBonus is very large, so we'll end up duplicating a lot of code in some cases, which could be surprising.  On the other hand, it isn't infinitely large, so you can't depend on always_inline to trigger the behavior reliably.

What's the motivation for this change?


https://reviews.llvm.org/D34471





More information about the llvm-commits mailing list