diff --git a/mlir/docs/Dialects/Linalg/OpDSL.md b/mlir/docs/Dialects/Linalg/OpDSL.md --- a/mlir/docs/Dialects/Linalg/OpDSL.md +++ b/mlir/docs/Dialects/Linalg/OpDSL.md @@ -11,8 +11,8 @@ ## Basic usage The tool is bundled with the MLIR Python bindings. To use from the CMake build -tree, MLIR must be build with Python bindings enabled -(`-DMLIR_ENALBE_BINDINGS_PYTHON=ON`). Then add the `python` directory in the +tree, MLIR must be built with Python bindings enabled +(`-DMLIR_ENABLE_BINDINGS_PYTHON=ON`). Then add the `python` directory in the build tree to your `PYTHONPATH` environment variable (i.e. `export PYTHONPATH=$PWD/build/tools/mlir/python_packages/mlir_core`). Optionally, use an installed MLIR package, if available, to avoid building. diff --git a/mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yaml b/mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yaml --- a/mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yaml +++ b/mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yaml @@ -3022,7 +3022,7 @@ kind: output_tensor type_var: U shape_map: affine_map<()[s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, - s13] -> (s0, s1, s5, s9)> + s13] -> (s0, s1, s5, s9, s13)> - !LinalgOperandDefConfig name: strides kind: index_attr diff --git a/mlir/python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py b/mlir/python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py --- a/mlir/python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py +++ b/mlir/python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py @@ -693,6 +693,7 @@ S.OD, S.OH, S.OW, + S.IC, output=True), strides=IndexAttrDef(S.SD, S.SH, diff --git a/mlir/utils/clang-tidy/README.md b/mlir/utils/clang-tidy/README.md --- a/mlir/utils/clang-tidy/README.md +++ b/mlir/utils/clang-tidy/README.md @@ -26,7 +26,7 @@ -G Ninja $ ninja clang-tidy ``` -- `build/` must be a directory with MLIR onfigured. It is highly advised to +- `build/` must be a directory with MLIR configured. It is highly advised to use `ccache` as well, as this directory will be used to rerun `ninja check-mlir` after every single clang-tidy fix. ```bash @@ -47,4 +47,3 @@ subfolder or the path to a single file. - `mkdir -p ~/clang-tidy-fails/` will be a directory containing the patches that clang-tidy produces but also fail the build. -