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

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


davidxl added inline comments.


================
Comment at: llvm/lib/CodeGen/MBFIWrapper.cpp:37
+
+  if (I != MergedBBFreq.end())
+    return MBFI.getProfileCountFromFreq(I->second.getFrequency());
----------------
Can you add some comments in the file  here ?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87802



More information about the llvm-commits mailing list