[PATCH] D71733: [NFC][InlineCost] Factor cost modeling out of CallAnalyzer traversal.
Mircea Trofin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 8 17:10:30 PST 2020
mtrofin marked 3 inline comments as done.
mtrofin added inline comments.
================
Comment at: llvm/lib/Analysis/InlineCost.cpp:450
+ InlineConstants::IndirectCallThreshold;
+ InlineCostCallAnalyzer CA(TTI, GetAssumptionCache, GetBFI, PSI, ORE, *F,
+ Call, IndirectCallParams, false);
----------------
eraman wrote:
> Please add a FIXME here saying we should be using the same derived class instance
done, also marked InlineCostCallAnalyzer as final and referenced this fixme there, it'll be more visible should deriving InlineCostCallAnalyzer happen.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71733/new/
https://reviews.llvm.org/D71733
More information about the llvm-commits
mailing list