[PATCH] D121084: [NewPM][Inliner] Make inlined calls to functions in same SCC as callee exponentially expensive
David Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 7 10:10:00 PST 2022
davidxl added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/Inliner.cpp:960
+ M.getContext(), "function-inline-cost-multiplier",
+ itostr(CBCostMult * 2));
+ ICB->addFnAttr(NewCBCostMult);
----------------
let '2' be controllable by an option.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121084/new/
https://reviews.llvm.org/D121084
More information about the llvm-commits
mailing list