[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
================
@@ -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,
+};
----------------
mingmingl-llvm wrote:
Renamed it to `MachineFunctionDataHotness`.
https://github.com/llvm/llvm-project/pull/122183
More information about the llvm-commits
mailing list