[Mlir-commits] [mlir] Fix AffineOps.md "more than 1 dialect" build error (PR #184092)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Mar 2 02:32:00 PST 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir-affine
@llvm/pr-subscribers-mlir
Author: Thomas Preud'homme (RoboTux)
<details>
<summary>Changes</summary>
AffineOps.md fails to build with the following:
"when more than 1 dialect is present, one must be selected via '-dialect'"
This commit adds the missing -dialect=affine.
Signed-off-by: Thomas Preud'homme <thomas.preudhomme@<!-- -->arm.com>
---
Full diff: https://github.com/llvm/llvm-project/pull/184092.diff
1 Files Affected:
- (modified) mlir/include/mlir/Dialect/Affine/IR/CMakeLists.txt (+1-1)
``````````diff
diff --git a/mlir/include/mlir/Dialect/Affine/IR/CMakeLists.txt b/mlir/include/mlir/Dialect/Affine/IR/CMakeLists.txt
index 49d00e0c54e73..33287ff359b42 100644
--- a/mlir/include/mlir/Dialect/Affine/IR/CMakeLists.txt
+++ b/mlir/include/mlir/Dialect/Affine/IR/CMakeLists.txt
@@ -1,5 +1,5 @@
add_mlir_dialect(AffineOps affine)
-add_mlir_doc(AffineOps AffineOps Dialects/ -gen-op-doc)
+add_mlir_doc(AffineOps AffineOps Dialects/ -gen-op-doc -dialect=affine)
add_mlir_interface(AffineMemoryOpInterfaces)
add_dependencies(MLIRAffineOpsIncGen MLIRAffineMemoryOpInterfacesIncGen)
``````````
</details>
https://github.com/llvm/llvm-project/pull/184092
More information about the Mlir-commits
mailing list