[all-commits] [llvm/llvm-project] 0be38d: [mlir][ods] Add description to Attr and ensure doc...
ftynse via All-commits
all-commits at lists.llvm.org
Tue Apr 5 01:40:30 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0be38d4f32d54bc01cea54d8f9e7e9d059620d79
https://github.com/llvm/llvm-project/commit/0be38d4f32d54bc01cea54d8f9e7e9d059620d79
Author: Alex Zinenko <zinenko at google.com>
Date: 2022-04-05 (Tue, 05 Apr 2022)
Changed paths:
M mlir/include/mlir/IR/OpBase.td
M mlir/include/mlir/TableGen/Attribute.h
M mlir/lib/TableGen/Attribute.cpp
M mlir/test/mlir-tblgen/gen-dialect-doc.td
M mlir/tools/mlir-tblgen/OpDocGen.cpp
Log Message:
-----------
[mlir][ods] Add description to Attr and ensure doc generation
Add the description textual field to the Attr ODS class to mirror an
identical field in the Type ODS class. Add support for generating
documentation for attribute constraints defined using this field. This
ensures mlir-tblgen produces at least some documentation for dialects
that only define attribute constraints, such as DLTI.
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D123024
More information about the All-commits
mailing list