[llvm] [SHT_LLVM_BB_ADDR_MAP][AsmPrinter] Add none and all options to PGO Map (PR #111221)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 26 01:16:42 PDT 2024
================
@@ -1367,9 +1371,18 @@ static uint32_t getBBAddrMapMetadata(const MachineBasicBlock &MBB) {
static llvm::object::BBAddrMap::Features
getBBAddrMapFeature(const MachineFunction &MF, int NumMBBSectionRanges) {
- return {PgoAnalysisMapFeatures.isSet(PGOMapFeaturesEnum::FuncEntryCount),
- PgoAnalysisMapFeatures.isSet(PGOMapFeaturesEnum::BBFreq),
- PgoAnalysisMapFeatures.isSet(PGOMapFeaturesEnum::BrProb),
+ bool NoFeatures = PgoAnalysisMapFeatures.isSet(PGOMapFeaturesEnum::None);
----------------
boomanaiden154 wrote:
Should be fixed in 7c9cf0c6f09115c2d948f16946aa3b36bf483f34.
https://github.com/llvm/llvm-project/pull/111221
More information about the llvm-commits
mailing list