[Mlir-commits] [mlir] [mlir][tblgen] Adds support for embedded LIT tests in TableGen records (PR #158017)
Jeremy Kun
llvmlistbot at llvm.org
Thu Sep 11 08:59:32 PDT 2025
j2kun wrote:
If I understand correctly, this PR does not change the documentation to reflect the pass behavior, correct? It seems like it only moves the definition of the lit test to the tablegen. Having the lit test definition closer to the documentation would certainly help people remember to keep the docs in sync, but the original idea of https://discourse.llvm.org/t/survey-interested-in-discussing-richer-tablegen-descriptions-in-mlir/87959/2 was to replace hand-written before/after examples in the description string with actual pass executions. Maybe that could be combined with a chance like this, so that the lit test generated in the tablegen is also rendered on the website?
https://github.com/llvm/llvm-project/pull/158017
More information about the Mlir-commits
mailing list