We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48b044c commit 7d47e06Copy full SHA for 7d47e06
mlir/lib/Dialect/Affine/IR/AffineOps.cpp
@@ -5421,7 +5421,7 @@ struct DropLinearizeUnitComponentsIfDisjointOrZero final
5421
return rewriter.notifyMatchFailure(op,
5422
"no unit basis entries to replace");
5423
5424
- if (newIndices.size() == 0) {
+ if (newIndices.empty()) {
5425
rewriter.replaceOpWithNewOp<arith::ConstantIndexOp>(op, 0);
5426
return success();
5427
}
0 commit comments