Skip to content

Commit 2370736

Browse files
krzysz00ronlieb
authored andcommitted
[mlir][lit] fix staging failure in prep for adding check-mlir
Change-Id: Ida55cb13c9119515572dc08a23ced8875525c046
1 parent 219a647 commit 2370736

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -451,12 +451,6 @@ mlir::scf::tileReductionUsingScf(RewriterBase &b,
451451
tilingInterfaceOp.getLoopIteratorTypes();
452452

453453
SmallVector<int> reductionDims;
454-
int64_t numReductionDims = llvm::count(
455-
tilingInterfaceOp.getLoopIteratorTypes(), utils::IteratorType::reduction);
456-
if (numReductionDims != 1)
457-
return b.notifyMatchFailure(
458-
op, "only support ops with one reduction dimension.");
459-
int reductionDim;
460454
for (auto [idx, iteratorType] :
461455
llvm::enumerate(tilingInterfaceOp.getLoopIteratorTypes())) {
462456
if (iteratorType == utils::IteratorType::reduction)

0 commit comments

Comments
 (0)