[all-commits] [llvm/llvm-project] faac89: [mlir] fix out-of-bounds in reduction tiling
ftynse via All-commits
all-commits at lists.llvm.org
Thu Jan 5 07:20:41 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: faac8989871197492b7454cd1b259951a26b2f7a
https://github.com/llvm/llvm-project/commit/faac8989871197492b7454cd1b259951a26b2f7a
Author: Alex Zinenko <zinenko at google.com>
Date: 2023-01-05 (Thu, 05 Jan 2023)
Changed paths:
M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
M mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
M mlir/lib/Dialect/Linalg/Transforms/TilingInterfaceImpl.cpp
M mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
M mlir/test/Dialect/Linalg/transform-tile-reduction.mlir
Log Message:
-----------
[mlir] fix out-of-bounds in reduction tiling
A transformation tiling a reduction dimension of a Linalg op needs a
tile size for said dimension. When an insufficient number of dimensions
was provided, it would segfault due to out-of-bounds access to a vector.
Also fix incorrect error reporting in the structured transform op
exercising this functionality.
Reviewed By: springerm, ThomasRaoux
Differential Revision: https://reviews.llvm.org/D141046
More information about the All-commits
mailing list