[llvm] [CodeGen] Introduce Static Data Splitter pass (PR #122183)
Ellis Hoag via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 9 14:01:13 PST 2025
================
@@ -1340,6 +1344,15 @@ unsigned MachineJumpTableInfo::createJumpTableIndex(
return JumpTables.size()-1;
}
+void MachineJumpTableInfo::updateJumpTableHotness(size_t JTI,
+ DataHotness Hotness) {
+ assert(JTI < JumpTables.size() && "Invalid JTI!");
+ // Note record the largest hotness is important for mergable data (constant
----------------
ellishg wrote:
```suggestion
// Note: recording the largest hotness is important for mergable data (constant
```
https://github.com/llvm/llvm-project/pull/122183
More information about the llvm-commits
mailing list