[Mlir-commits] [mlir] 0ed5f9b - [MLIR] NFC. Fix unused warning in affine loop utils
Uday Bondhugula
llvmlistbot at llvm.org
Thu Mar 13 08:26:51 PDT 2025
Author: Uday Bondhugula
Date: 2025-03-13T20:56:35+05:30
New Revision: 0ed5f9b22bcbda9aa4f251fd1377ec77b5ca2a39
URL: https://github.com/llvm/llvm-project/commit/0ed5f9b22bcbda9aa4f251fd1377ec77b5ca2a39
DIFF: https://github.com/llvm/llvm-project/commit/0ed5f9b22bcbda9aa4f251fd1377ec77b5ca2a39.diff
LOG: [MLIR] NFC. Fix unused warning in affine loop utils
Added:
Modified:
mlir/lib/Dialect/Affine/Utils/LoopUtils.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/Affine/Utils/LoopUtils.cpp b/mlir/lib/Dialect/Affine/Utils/LoopUtils.cpp
index b58bf3f271d47..71c6acba32d2e 100644
--- a/mlir/lib/Dialect/Affine/Utils/LoopUtils.cpp
+++ b/mlir/lib/Dialect/Affine/Utils/LoopUtils.cpp
@@ -2062,7 +2062,7 @@ static LogicalResult generateCopy(
// Set copy start location for this dimension in the lower memory space
// memref.
- if (auto caf = lbs[d].isSingleConstant()) {
+ if (lbs[d].isSingleConstant()) {
auto indexVal = lbs[d].getSingleConstantResult();
if (indexVal == 0) {
memIndices.push_back(zeroIndex);
More information about the Mlir-commits
mailing list