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

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

Reply via email to