[all-commits] [llvm/llvm-project] 813bbe: [mlir][linalg] Allow fusing reshapes with non-para...
Ian Wood via All-commits
all-commits at lists.llvm.org
Fri Mar 7 11:09:36 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 813bbe055df2357efd42eaf1f3e7f5926a071941
https://github.com/llvm/llvm-project/commit/813bbe055df2357efd42eaf1f3e7f5926a071941
Author: Ian Wood <ianwood2024 at u.northwestern.edu>
Date: 2025-03-07 (Fri, 07 Mar 2025)
Changed paths:
M mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp
M mlir/test/Dialect/Linalg/reshape_fusion.mlir
Log Message:
-----------
[mlir][linalg] Allow fusing reshapes with non-parallel operands (#130148)
Removes the condition that checks that operand is not indexed by
reduction iterators which allows for more fine-grained control via the
reshape fusion control function. For example, users could allow fusing
reshapes expand the M/N dims of a matmul but not the K dims (or preserve
the current behavior by not fusing at all).
---------
Signed-off-by: Ian Wood <ianwood2024 at u.northwestern.edu>
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