[llvm] [CodeGen] Introduce Static Data Splitter pass (PR #122183)
Mingming Liu via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 10 17:22:10 PST 2025
================
@@ -107,6 +109,8 @@ class MachineJumpTableInfo {
return JumpTables;
}
+ void updateJumpTableHotness(size_t JTI, DataHotness Hotness);
----------------
mingmingl-llvm wrote:
Added a comment for this method, renamed it to `updateJumpTableEntryHotness`.
> this is for the jump table static data object
It makes sense to comment about how the information is used. The comment in `MachineJumpTableEntry` field does this.
https://github.com/llvm/llvm-project/pull/122183
More information about the llvm-commits
mailing list