[Mlir-commits] [mlir] ab78e09 - [mlir][docs] Update `add_mlir_doc` usage

Marius Brehler llvmlistbot at llvm.org
Fri Apr 23 01:50:30 PDT 2021


Author: Marius Brehler
Date: 2021-04-23T08:49:55Z
New Revision: ab78e09b9463262254347d1f050b49b611848654

URL: https://github.com/llvm/llvm-project/commit/ab78e09b9463262254347d1f050b49b611848654
DIFF: https://github.com/llvm/llvm-project/commit/ab78e09b9463262254347d1f050b49b611848654.diff

LOG: [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.

Added: 
    

Modified: 
    mlir/docs/Tutorials/CreatingADialect.md

Removed: 
    


################################################################################
diff  --git a/mlir/docs/Tutorials/CreatingADialect.md b/mlir/docs/Tutorials/CreatingADialect.md
index 17d2ec97eb68..9a1c0fa339af 100644
--- a/mlir/docs/Tutorials/CreatingADialect.md
+++ b/mlir/docs/Tutorials/CreatingADialect.md
@@ -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


        


More information about the Mlir-commits mailing list