[llvm] add RegisterBankInfo support to RegisterBankEmitter (PR #70895)

via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 5 21:43:53 PST 2023


================
@@ -112,7 +112,11 @@ class RegisterBankEmitter {
   void emitBaseClassDefinition(raw_ostream &OS, const StringRef TargetName,
                                const std::vector<RegisterBank> &Banks);
   void emitBaseClassImplementation(raw_ostream &OS, const StringRef TargetName,
-                                   std::vector<RegisterBank> &Banks);
+                                   const std::vector<RegisterBank> &Banks);
+  void emitRBIHeader(raw_ostream &OS, const StringRef TargetName,
+                     const std::vector<RegisterBank> &Banks);
+  void emitRBIIMPL(raw_ostream &OS, const StringRef TargetName,
----------------
CBSears wrote:

I made this change. It shows up in the #71357

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

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


More information about the llvm-commits mailing list