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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to