[Mlir-commits] [mlir] 3a37df5 - [mlir][ArmSME] Switch to using custom documentation (#68110)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Oct 5 08:40:14 PDT 2023


Author: Andrzej WarzyƄski
Date: 2023-10-05T16:40:09+01:00
New Revision: 3a37df551bd78e74453f672704406e15c8e899ad

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

LOG: [mlir][ArmSME] Switch to using custom documentation (#68110)

--delete-branch

Added: 
    mlir/docs/Dialects/ArmSME.md

Modified: 
    mlir/include/mlir/Dialect/ArmSME/IR/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/mlir/docs/Dialects/ArmSME.md b/mlir/docs/Dialects/ArmSME.md
new file mode 100644
index 000000000000000..ab7c9ffe7aa92f1
--- /dev/null
+++ b/mlir/docs/Dialects/ArmSME.md
@@ -0,0 +1,16 @@
+# 'ArmSME' Dialect
+
+Basic dialect to target Arm SME architectures This dialect contains the
+definitions necessary to target Arm SME scalable matrix operations.
+
+## References
+* https://developer.arm.com/documentation/ddi0616
+* https://developer.arm.com/documentation/ddi0602/2023-03/SME-Instructions
+
+## Operations
+
+[include "Dialects/ArmSMEOps.md"]
+
+## Operations for LLVM IR Intrinsics
+
+[include "Dialects/ArmSMEIntrinsicOps.md"]

diff  --git a/mlir/include/mlir/Dialect/ArmSME/IR/CMakeLists.txt b/mlir/include/mlir/Dialect/ArmSME/IR/CMakeLists.txt
index e0d66ab853e55f1..9319a8042c93f4a 100644
--- a/mlir/include/mlir/Dialect/ArmSME/IR/CMakeLists.txt
+++ b/mlir/include/mlir/Dialect/ArmSME/IR/CMakeLists.txt
@@ -1,5 +1,4 @@
 add_mlir_dialect(ArmSME arm_sme ArmSME)
-add_mlir_doc(ArmSME ArmSME Dialects/ -gen-dialect-doc -dialect=arm_sme)
 
 # Generate declarations and definitions of ArmSME Ops
 set(LLVM_TARGET_DEFINITIONS ArmSMEOps.td)
@@ -22,3 +21,7 @@ mlir_tablegen(ArmSMEIntrinsicOps.h.inc -gen-op-decls)
 mlir_tablegen(ArmSMEIntrinsicOps.cpp.inc -gen-op-defs)
 mlir_tablegen(ArmSMEIntrinsicConversions.inc -gen-llvmir-conversions)
 add_public_tablegen_target(MLIRArmSMEIntrinsicOpsIncGen)
+
+# Generate the docs
+add_mlir_doc(ArmSMEOps ArmSMEOps Dialects/ -gen-op-doc)
+add_mlir_doc(ArmSMEIntrinsicOps ArmSMEIntrinsicOps Dialects/ -gen-op-doc)


        


More information about the Mlir-commits mailing list