[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:15 PST 2025


================
@@ -1340,6 +1344,15 @@ unsigned MachineJumpTableInfo::createJumpTableIndex(
   return JumpTables.size()-1;
 }
 
+void MachineJumpTableInfo::updateJumpTableHotness(size_t JTI,
+                                                  DataHotness Hotness) {
----------------
ellishg wrote:

If this function returned `true` only when the hotness is actually changes, then we could get a more accurate value for `NumChangedJumpTables` later

https://github.com/llvm/llvm-project/pull/122183


More information about the llvm-commits mailing list