[PATCH] D69545: [globalisel][docs] Rework GMIR documentation and add an early GenericOpcode reference
Daniel Sanders via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 4 12:04:09 PST 2019
dsanders added a comment.
> FWIW I too would prefer generating this automatically (e.g. as is done for clang's AST Matchers) but I don't know the caveats involved in doing that. I suppose we could start with this and automate later (similarly to how we started with hand-written code and then moved to TableGen).
I don't think there's anything insurmountable there but the main one is probably adding build dependencies to the documentation. We can probably achieve the same effect without having to build tblgen using with a Sphinx Extension that is able to read tablegen sufficiently well to handle GenericOpcodes.td as that file has no reason to use non-trivial features of tablegen.
> Maybe wait a couple of days to see if anyone feels strongly about automating.
Sure
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69545/new/
https://reviews.llvm.org/D69545
More information about the llvm-commits
mailing list