[Mlir-commits] [mlir] 57b871f - [mlir] Updates to generate dialect rather than op docs

Jacques Pienaar llvmlistbot at llvm.org
Sat Sep 26 09:02:59 PDT 2020


Author: Jacques Pienaar
Date: 2020-09-26T09:02:35-07:00
New Revision: 57b871f8eca5029d244c9777f27d13f2a5ef9ab2

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

LOG: [mlir] Updates to generate dialect rather than op docs

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/AVX512/AVX512.td
    mlir/include/mlir/Dialect/AVX512/CMakeLists.txt
    mlir/include/mlir/Dialect/PDL/IR/CMakeLists.txt
    mlir/include/mlir/Dialect/PDLInterp/IR/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/AVX512/AVX512.td b/mlir/include/mlir/Dialect/AVX512/AVX512.td
index eee24ce1d5d5..56c4547d8300 100644
--- a/mlir/include/mlir/Dialect/AVX512/AVX512.td
+++ b/mlir/include/mlir/Dialect/AVX512/AVX512.td
@@ -44,8 +44,8 @@ def MaskRndScaleOp : AVX512_Op<"mask.rndscale", [NoSideEffect,
     `llvm.mask.rndscale.pd.512` instruction depending on the type of vectors it
     is applied to.
 
-    From the Intel Intrinsics Guide:
-    ================================
+    #### From the Intel Intrinsics Guide:
+
     Round packed floating-point elements in `a` to the number of fraction bits
     specified by `imm`, and store the results in `dst` using writemask `k`
     (elements are copied from src when the corresponding mask bit is not set).
@@ -76,8 +76,8 @@ def MaskScaleFOp : AVX512_Op<"mask.scalef", [NoSideEffect,
     `llvm.mask.scalef.pd.512` depending on the type of MLIR vectors it is
     applied to.
 
-    From the Intel Intrinsics Guide:
-    ================================
+    #### From the Intel Intrinsics Guide:
+
     Scale the packed floating-point elements in `a` using values from `b`, and
     store the results in `dst` using writemask `k` (elements are copied from src
     when the corresponding mask bit is not set).

diff  --git a/mlir/include/mlir/Dialect/AVX512/CMakeLists.txt b/mlir/include/mlir/Dialect/AVX512/CMakeLists.txt
index 3c14238be1bb..fc3cb911ba80 100644
--- a/mlir/include/mlir/Dialect/AVX512/CMakeLists.txt
+++ b/mlir/include/mlir/Dialect/AVX512/CMakeLists.txt
@@ -1,2 +1,2 @@
 add_mlir_dialect(AVX512 avx512)
-add_mlir_doc(AVX512 -gen-op-doc AVX512 Dialects/)
+add_mlir_doc(AVX512 -gen-dialect-doc AVX512 Dialects/)

diff  --git a/mlir/include/mlir/Dialect/PDL/IR/CMakeLists.txt b/mlir/include/mlir/Dialect/PDL/IR/CMakeLists.txt
index 62150cb1b881..0d9837e0d394 100644
--- a/mlir/include/mlir/Dialect/PDL/IR/CMakeLists.txt
+++ b/mlir/include/mlir/Dialect/PDL/IR/CMakeLists.txt
@@ -1,2 +1,2 @@
 add_mlir_dialect(PDLOps pdl)
-add_mlir_doc(PDLOps -gen-op-doc PDLOps Dialects/)
+add_mlir_doc(PDLOps -gen-dialect-doc PDLOps Dialects/)

diff  --git a/mlir/include/mlir/Dialect/PDLInterp/IR/CMakeLists.txt b/mlir/include/mlir/Dialect/PDLInterp/IR/CMakeLists.txt
index 8a707660fa26..65202bab56b2 100644
--- a/mlir/include/mlir/Dialect/PDLInterp/IR/CMakeLists.txt
+++ b/mlir/include/mlir/Dialect/PDLInterp/IR/CMakeLists.txt
@@ -1,2 +1,2 @@
 add_mlir_dialect(PDLInterpOps pdl_interp)
-add_mlir_doc(PDLInterpOps -gen-op-doc PDLInterpOps Dialects/)
+add_mlir_doc(PDLInterpOps -gen-dialect-doc PDLInterpOps Dialects/)


        


More information about the Mlir-commits mailing list