[PATCH] D93658: [Inliner] Compute the full cost for the cost benefit analsysis
Kazu Hirata via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 5 12:49:22 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG65cd3cbb3fc9: [Inliner] Compute the full cost for the cost benefit analsysis (authored by kazu).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93658/new/
https://reviews.llvm.org/D93658
Files:
llvm/lib/Analysis/InlineCost.cpp
Index: llvm/lib/Analysis/InlineCost.cpp
===================================================================
--- llvm/lib/Analysis/InlineCost.cpp
+++ llvm/lib/Analysis/InlineCost.cpp
@@ -901,7 +901,8 @@
bool IgnoreThreshold = false)
: CallAnalyzer(Callee, Call, TTI, GetAssumptionCache, GetBFI, PSI, ORE),
ComputeFullInlineCost(OptComputeFullInlineCost ||
- Params.ComputeFullInlineCost || ORE),
+ Params.ComputeFullInlineCost || ORE ||
+ isCostBenefitAnalysisEnabled()),
Params(Params), Threshold(Params.DefaultThreshold),
BoostIndirectCalls(BoostIndirect), IgnoreThreshold(IgnoreThreshold),
CostBenefitAnalysisEnabled(isCostBenefitAnalysisEnabled()),
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93658.314691.patch
Type: text/x-patch
Size: 789 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210105/410b28f2/attachment.bin>
More information about the llvm-commits
mailing list