-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mlir] Cleanup DialectDocGen to check for the dialect early
We only ever generate documentation for one dialect, so there isn't a good reason to collect every possible dialect entity. Differential Revision: https://reviews.llvm.org/D135812
- Loading branch information
Showing
2 changed files
with
30 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
add_mlir_dialect(MemRefOps memref) | ||
add_mlir_doc(MemRefOps MemRefOps Dialects/ -gen-dialect-doc) | ||
add_mlir_doc(MemRefOps MemRefOps Dialects/ -gen-dialect-doc -dialect=memref) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters