[llvm] BlockFrequencyInfo: Add PrintBlockFreq helper (PR #67512)

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 27 13:06:19 PDT 2023


================
@@ -108,6 +101,9 @@ class BlockFrequencyInfo {
   void verifyMatch(BlockFrequencyInfo &Other) const;
 };
 
+Printable PrintBlockFreq(const BlockFrequencyInfo &BFI, BlockFrequency Freq);
----------------
mtrofin wrote:

can these 2 fcts be `const`?

https://github.com/llvm/llvm-project/pull/67512


More information about the llvm-commits mailing list