[all-commits] [llvm/llvm-project] 2e12ba: [MLIR][Linalg] Fix insert_slice fusion with rank r...
RoboTux via All-commits
all-commits at lists.llvm.org
Fri May 23 01:33:02 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2e12badc941282f041c91f5372af29e35c59e4a2
https://github.com/llvm/llvm-project/commit/2e12badc941282f041c91f5372af29e35c59e4a2
Author: Thomas Preud'homme <thomas.preudhomme at arm.com>
Date: 2025-05-23 (Fri, 23 May 2025)
Changed paths:
M mlir/include/mlir/Dialect/Tensor/Utils/Utils.h
M mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
M mlir/lib/Dialect/Tensor/Utils/Utils.cpp
M mlir/test/Dialect/Linalg/tile-and-fuse-tensors.mlir
Log Message:
-----------
[MLIR][Linalg] Fix insert_slice fusion with rank reduction (#130961)
Insert_slice fusion with a linalg producer does not account for
possible rank-reduction in the insert_slice return type. When that
happens, a tensor.cast gets generated due to the type mismatch which is
invalid for tensor with different rank. This later trips other pass.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list