diff options
author | MaheshRavishankar <1663364+MaheshRavishankar@users.noreply.github.com> | 2025-07-09 08:50:01 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-09 08:50:01 -0700 |
commit | c22352175ef29c141de27485286275434c58e88a (patch) | |
tree | c3c6079e8f8ba1d89f7c7419fc1974827a373ad6 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | f92420078e6d0c1dcef0e13cc821dd57759d6663 (diff) | |
download | llvm-c22352175ef29c141de27485286275434c58e88a.zip llvm-c22352175ef29c141de27485286275434c58e88a.tar.gz llvm-c22352175ef29c141de27485286275434c58e88a.tar.bz2 |
[mlir][TilingInterface] Allow tile and fuse to work with `ReductionTilingStrategy::PartialReductionOuterParallelStrategy`. (#147593)
Since `scf::tileUsingSCF` is the core method used for tiling the root
operation within the `scf::tileConsumersAndFuseProducersUsingSCF`, the
latter can fuse into any tiled loop generated using `scf::tileUsingSCF`.
This patch adds a test for tiling a root operation using
`ReductionTilingStrategy::PartialReductionOuterParallelStrategy` and
fusing producers with it.
Since this strategy generates a rank-reducing extract slice
`tensor::replaceExtractSliceWithTiledProducer` which is the core method
used for the fusion was extended to handle the rank-reducing slices.
Also fix a small bug in the computation of the reduction induction
variable (which needs to use `floorDiv` instead of `ceilDiv`)
Signed-off-by: MaheshRavishankar <mahesh.ravishankar@gmail.com>
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions