[PATCH] D24338: [InlineCost] Remove CallPenalty and change MinSizeThreshold to 5

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 1 17:52:17 PDT 2016


mehdi_amini added a comment.

In https://reviews.llvm.org/D24338#585295, @eraman wrote:

> I agree that having a call penalty in addition to argument set up cost  skews inline cost computation.


What about register spills for instance? An IR call can really be more costly when lowered to machine code.


Repository:
  rL LLVM

https://reviews.llvm.org/D24338





More information about the llvm-commits mailing list