[llvm] Use COFF image-base-relative jump tables on AMD64 (PR #147625)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 8 17:59:07 PDT 2025


================
@@ -141,6 +141,8 @@ template <> struct ScalarEnumerationTraits<MachineJumpTableInfo::JTEntryKind> {
                 MachineJumpTableInfo::EK_LabelDifference64);
     IO.enumCase(EntryKind, "inline", MachineJumpTableInfo::EK_Inline);
     IO.enumCase(EntryKind, "custom32", MachineJumpTableInfo::EK_Custom32);
+    IO.enumCase(EntryKind, "coff-imgrel32",
+                MachineJumpTableInfo::EK_CoffImgRel32);
----------------
arsenm wrote:

Needs mir support tests in test/CodeGen/MIR

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


More information about the llvm-commits mailing list