diff options
author | Han-Chung Wang <hanhan0912@gmail.com> | 2025-07-17 16:06:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-17 16:06:06 -0700 |
commit | 6ff471883f7e716fe2a993f4d393c65f003994b4 (patch) | |
tree | 3c774bd0492417289c463453f6c3703528491286 /llvm/lib/CodeGen/MachineModuleInfoImpls.cpp | |
parent | 8f4deff5d51ac190e056a6738018fc8aa3114151 (diff) | |
download | llvm-6ff471883f7e716fe2a993f4d393c65f003994b4.zip llvm-6ff471883f7e716fe2a993f4d393c65f003994b4.tar.gz llvm-6ff471883f7e716fe2a993f4d393c65f003994b4.tar.bz2 |
[mlir][linalg] Improve linalg.pack consumer fusion. (#148993)
If a dimension is not tiled, it is always valid to fuse the pack op,
even if it has padding semantics. Because it always generates a full
slice along the dimension.
If a dimension is tiled and it does not need extra padding, the fusion
is valid.
The revision also formats corresponding tests for consistency.
---------
Signed-off-by: hanhanW <hanhan0912@gmail.com>
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfoImpls.cpp')
0 files changed, 0 insertions, 0 deletions