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 3fefeaf commit 22e7e68Copy full SHA for 22e7e68
mlir/lib/Dialect/Affine/Utils/Utils.cpp
@@ -1792,8 +1792,7 @@ MemRefType mlir::affine::normalizeMemRefType(MemRefType memrefType) {
1792
MLIRContext *context = memrefType.getContext();
1793
for (unsigned d = 0; d < newRank; ++d) {
1794
// Check if this dimension is dynamic.
1795
- if (bool isDynDim =
1796
- isNormalizedMemRefDynamicDim(d, layoutMap, memrefTypeDynDims)) {
+ if (isNormalizedMemRefDynamicDim(d, layoutMap, memrefTypeDynDims)) {
1797
newShape[d] = ShapedType::kDynamic;
1798
continue;
1799
}
0 commit comments