[llvm] [NFC]Refactor static data splitter (PR #125758)
Mingming Liu via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 4 14:40:53 PST 2025
================
@@ -46,12 +46,12 @@ class StaticDataSplitter : public MachineFunctionPass {
const MachineBlockFrequencyInfo *MBFI = nullptr;
const ProfileSummaryInfo *PSI = nullptr;
- // Returns true iff any jump table is hot-cold categorized.
- bool splitJumpTables(MachineFunction &MF);
+ void updateStats(bool ProfileAvailable, const MachineJumpTableInfo *MJTI);
+ void updateJumpTableStats(bool ProfileAvailable,
----------------
mingmingl-llvm wrote:
done.
https://github.com/llvm/llvm-project/pull/125758
More information about the llvm-commits
mailing list