[llvm] [SHT_LLVM_BB_ADDR] Implement ELF and YAML support for Propeller CFG data in PGO analysis map. (PR #164914)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 30 01:02:31 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) |
----------------
jh7370 wrote:
Probably worth changing these to `uint16_t` at the same time, or risk a copy/paste issue when the next feature is introduced.
https://github.com/llvm/llvm-project/pull/164914
More information about the llvm-commits
mailing list