[PATCH] D119899: [TableGen] Add a library-based entry point for parsing td files

River Riddle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 16 14:59:26 PST 2022


rriddle added a comment.

In D119899#3327655 <https://reviews.llvm.org/D119899#3327655>, @craig.topper wrote:

> Could the RecordKeeper object be the tablegen context? Still need to plumb it through everything.

Conceptually yeah, we could use the RecordKeeper as the context itself (I mean that is basically what it is right now for the most part). I didn't mean to imply above that we explicitly need a new class (though we could have one), we just need something akin to LLVMContext/MLIRContext to plumb through the API.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119899/new/

https://reviews.llvm.org/D119899



More information about the llvm-commits mailing list