[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:
Marius Brehler 2021-04-23 08:45:57 +00:00
parent 4f5da356ff
commit ab78e09b94

View file

@ -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