[PATCH] D87802: [MBFIWrapper] Add a new function getBlockProfileCount

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 19:12:14 PDT 2020


davidxl added inline comments.


================
Comment at: llvm/lib/CodeGen/MBFIWrapper.cpp:42
+
+  return MBFI.getBlockProfileCount(MBB);
+}
----------------
If the code reaches here, will the call simply return 0 (according to its implementation)?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87802/new/

https://reviews.llvm.org/D87802



More information about the llvm-commits mailing list