[mlir][docs] Update add_mlir_doc
usage
Updates the docs to reflect the changes introduced to the `add_mlir_doc` CMake macro with https://reviews.llvm.org/D100517.
This commit is contained in:
parent
4f5da356ff
commit
ab78e09b94
|
@ -39,7 +39,7 @@ is declared using add_mlir_dialect().
|
|||
|
||||
```cmake
|
||||
add_mlir_dialect(FooOps foo)
|
||||
add_mlir_doc(FooOps -gen-dialect-doc FooDialect Dialects/)
|
||||
add_mlir_doc(FooOps FooDialect Dialects/ -gen-dialect-doc)
|
||||
```
|
||||
|
||||
This generates the correct rules to run mlir-tblgen, along with a
|
||||
|
|
Loading…
Reference in a new issue