[llvm] CodeGen: Add RegisterClass by HwMode (PR #158269)

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 12 08:33:03 PDT 2025


================
@@ -925,6 +933,14 @@ void InstrInfoEmitter::run(raw_ostream &OS) {
 
   OS << "#if defined(GET_INSTRINFO_MC_DESC) || "
         "defined(GET_INSTRINFO_CTOR_DTOR)\n";
+
+  OS << "namespace {\n";
+  OS << "enum RegClassByHwModeUses : uint16_t {\n";
----------------
s-barannikov wrote:

could be unnamed

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


More information about the llvm-commits mailing list