[llvm-branch-commits] [TableGen] Generate `getRegClassFromMatchKind()` for AsmMatchers (PR #200453)

Alexander Richardson via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jun 4 19:11:53 PDT 2026


================
@@ -3507,6 +3584,7 @@ void AsmMatcherEmitter::run(raw_ostream &OS) {
 
   OS << "\n#ifdef GET_MATCHER_IMPLEMENTATION\n";
   OS << "#undef GET_MATCHER_IMPLEMENTATION\n\n";
+  OS << "#include \"llvm/MC/MCRegisterInfo.h\"\n\n";
----------------
arichardson wrote:

I agree this is not great, let me fix it properly 

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


More information about the llvm-branch-commits mailing list