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