Skip to content

Commit 0ed5f9b

Browse files
committed
[MLIR] NFC. Fix unused warning in affine loop utils
1 parent 01aca42 commit 0ed5f9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/Affine/Utils/LoopUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2062,7 +2062,7 @@ static LogicalResult generateCopy(
20622062

20632063
// Set copy start location for this dimension in the lower memory space
20642064
// memref.
2065-
if (auto caf = lbs[d].isSingleConstant()) {
2065+
if (lbs[d].isSingleConstant()) {
20662066
auto indexVal = lbs[d].getSingleConstantResult();
20672067
if (indexVal == 0) {
20682068
memIndices.push_back(zeroIndex);

0 commit comments

Comments
 (0)