[llvm] [CodeGen] Introduce Static Data Splitter pass (PR #122183)
Snehasish Kumar via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 10 11:22:14 PST 2025
================
@@ -1291,6 +1291,10 @@ const unsigned MachineFunction::DebugOperandMemNumber = 1000000;
// MachineJumpTableInfo implementation
//===----------------------------------------------------------------------===//
+MachineJumpTableEntry::MachineJumpTableEntry(
+ const std::vector<MachineBasicBlock *> &MBBs)
+ : MBBs(MBBs), Hotness(DataHotness::Unknown) {}
----------------
snehasish wrote:
If you initialize `DataHotness Hotness = DataHotness::Unknown;` on L39 in MachineJumpTableInfo then you won't need to add this constructor here.
https://github.com/llvm/llvm-project/pull/122183
More information about the llvm-commits
mailing list