[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:14 PST 2025
================
@@ -88,6 +88,15 @@ template <> struct ilist_callback_traits<MachineBasicBlock> {
}
};
+// The hotness of static data tracked by a MachineFunction and not represented
+// as a global object in the module IR / MIR. Typical examples are
+// MachineJumpTableInfo and MachineConstantPool.
+enum class DataHotness {
+ Unknown,
+ Cold,
+ Hot,
+};
----------------
ellishg wrote:
>From the name alone I would think this applied to global IR constants, but this doesn't appear to be the case. Can we make the name more specific?
https://github.com/llvm/llvm-project/pull/122183
More information about the llvm-commits
mailing list