[all-commits] [llvm/llvm-project] 82ab0f: [mlir][linalg] Fix rank-reduced cases for extract/...
Quinn Dawkins via All-commits
all-commits at lists.llvm.org
Sat Dec 16 07:09:05 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 82ab0f7f36222a0311b5220df52f4193664569e8
https://github.com/llvm/llvm-project/commit/82ab0f7f36222a0311b5220df52f4193664569e8
Author: Quinn Dawkins <quinn.dawkins at gmail.com>
Date: 2023-12-16 (Sat, 16 Dec 2023)
Changed paths:
M mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp
M mlir/test/Dialect/Linalg/drop-unit-extent-dims.mlir
Log Message:
-----------
[mlir][linalg] Fix rank-reduced cases for extract/insert slice in DropUnitDims (#74723)
Inferring the reshape reassociation indices for extract/insert slice ops
based on the read sizes of the original slicing op will generate an
invalid expand/collapse shape op for already rank-reduced cases. Instead
just infer from the shape of the slice.
Ported from Differential Revision: https://reviews.llvm.org/D147488
More information about the All-commits
mailing list