[Mlir-commits] [mlir] bf9dcb4 - [mlir] silence -Wunused-variable in Linalg comprehensive bufferize
Alex Zinenko
llvmlistbot at llvm.org
Tue Jun 29 07:44:54 PDT 2021
Author: Alex Zinenko
Date: 2021-06-29T16:44:16+02:00
New Revision: bf9dcb4cd21513a2b90db8af4f7f0e6769afe205
URL: https://github.com/llvm/llvm-project/commit/bf9dcb4cd21513a2b90db8af4f7f0e6769afe205
DIFF: https://github.com/llvm/llvm-project/commit/bf9dcb4cd21513a2b90db8af4f7f0e6769afe205.diff
LOG: [mlir] silence -Wunused-variable in Linalg comprehensive bufferize
Added:
Modified:
mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp b/mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
index 3875965e9b92..996e90662a45 100644
--- a/mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
+++ b/mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
@@ -1605,6 +1605,7 @@ bufferizableInPlaceAnalysis(OpOperand &operand, OpResult result,
Operation *op = result.getDefiningOp();
assert(result && !isa<ExtractSliceOp>(op) &&
"expected OpResult not coming from a ExtractSliceOp");
+ (void)op;
int64_t resultNumber = result.getResultNumber();
(void)resultNumber;
More information about the Mlir-commits
mailing list