[llvm] [SHT_LLVM_BB_ADDR] Implement ELF and YAML support for Propeller CFG data in PGO analysis map. (PR #164914)

Rahman Lavaee via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 30 12:19:28 PDT 2025


================
@@ -841,7 +841,7 @@ struct BBAddrMap {
     bool hasPGOAnalysisBBData() const { return BBFreq || BrProb; }
 
     // Encodes to minimum bit width representation.
-    uint8_t encode() const {
+    uint16_t encode() const {
       return (static_cast<uint8_t>(FuncEntryCount) << 0) |
----------------
rlavaee wrote:

Done

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


More information about the llvm-commits mailing list