Skip to content

Commit 6d0b806

Browse files
committed
Revert the change that caused the test failures
1 parent 58a7f32 commit 6d0b806

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

mlir/lib/Dialect/Linalg/Utils/Utils.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -800,9 +800,8 @@ computeAllSliceParameters(OpBuilder &builder, Location loc, LinalgOp linalgOp,
800800
// extract/insert slice pairs make the accessed iteration argument
801801
// subdomains explicit.
802802
Type operandType = opOperand.get().getType();
803-
if (!isTiled(map, tileSizes, linalgOp.getStaticLoopRanges()) &&
804-
!(isa<RankedTensorType>(operandType) &&
805-
linalgOp.isDpsInit(&opOperand))) {
803+
if (!isTiled(map, tileSizes, {}) && !(isa<RankedTensorType>(operandType) &&
804+
linalgOp.isDpsInit(&opOperand))) {
806805
allSliceParams.push_back(std::nullopt);
807806
LLVM_DEBUG(llvm::dbgs()
808807
<< ": not tiled: use shape: " << operandType << "\n");

0 commit comments

Comments
 (0)