[PATCH] D86156: [BFI] Preserve BFI information through loop passes via VH callbacks inside LoopStandardAnalysisResults
Di Mo via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 27 15:59:23 PDT 2020
modimo added inline comments.
================
Comment at: llvm/include/llvm/Transforms/Scalar/LoopPassManager.h:273
: nullptr;
+ BlockFrequencyInfo *BFI = UseBlockFrequencyInfo
+ ? (&AM.getResult<BlockFrequencyAnalysis>(F))
----------------
asbirlea wrote:
> Add `&& F.hasProfileData()` check here, in the NPM as well?
Makes sense, added.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86156/new/
https://reviews.llvm.org/D86156
More information about the cfe-commits
mailing list