[PATCH] D30651: [InlineCost, -Oz] Don't take into account the penalty of a fast call of frequently used functions
Matthias Braun via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 8 16:03:51 PST 2017
MatzeB added a comment.
> "Fast calls are usually optimized to minimize the call penalty, e.g. parameters are passed through registers."
BTW: In terms of code size this statement isn't convincing to me as calls still impose constraints on the register allocator so we end up producing moves: Parameters need to go in specific registers, results come out in specific registers and live-through values have to be moved to callee-saved registers.
https://reviews.llvm.org/D30651
More information about the llvm-commits
mailing list