Skip to content

Commit

Permalink
Revert the change that caused the test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
josel-amd committed Feb 13, 2025
1 parent 58a7f32 commit 6d0b806
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mlir/lib/Dialect/Linalg/Utils/Utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -800,9 +800,8 @@ computeAllSliceParameters(OpBuilder &builder, Location loc, LinalgOp linalgOp,
// extract/insert slice pairs make the accessed iteration argument
// subdomains explicit.
Type operandType = opOperand.get().getType();
if (!isTiled(map, tileSizes, linalgOp.getStaticLoopRanges()) &&
!(isa<RankedTensorType>(operandType) &&
linalgOp.isDpsInit(&opOperand))) {
if (!isTiled(map, tileSizes, {}) && !(isa<RankedTensorType>(operandType) &&
linalgOp.isDpsInit(&opOperand))) {
allSliceParams.push_back(std::nullopt);
LLVM_DEBUG(llvm::dbgs()
<< ": not tiled: use shape: " << operandType << "\n");
Expand Down

0 comments on commit 6d0b806

Please sign in to comment.