[llvm] CodeGen: Eliminate dynamic relocations in the register superclass tables. (PR #119122)

Owen Anderson via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 9 03:08:40 PST 2024


================
@@ -1286,8 +1286,8 @@ void RegisterInfoEmitter::runTargetDesc(raw_ostream &OS) {
     }
     OS << "};\n";
 
-    OS << "\nstatic const TargetRegisterClass *const "
-       << "NullRegClasses[] = { nullptr };\n\n";
+    OS << "\nstatic const unsigned "
----------------
resistor wrote:

Probably, but I'd prefer not to make such a functional change mixed in with this PR.

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


More information about the llvm-commits mailing list