[Mlir-commits] [mlir] e1f90b5 - [mlir] Fix unused `from` after https://github.com/llvm/llvm-project/commit/787689943d027b062274f22097e7f30b0a52bd5b
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri Oct 6 02:16:45 PDT 2023
Author: Christian Sigg
Date: 2023-10-06T11:16:42+02:00
New Revision: e1f90b50515261159fc3dec526b3a3e0f9dcc364
URL: https://github.com/llvm/llvm-project/commit/e1f90b50515261159fc3dec526b3a3e0f9dcc364
DIFF: https://github.com/llvm/llvm-project/commit/e1f90b50515261159fc3dec526b3a3e0f9dcc364.diff
LOG: [mlir] Fix unused `from` after https://github.com/llvm/llvm-project/commit/787689943d027b062274f22097e7f30b0a52bd5b
Added:
Modified:
mlir/lib/IR/SymbolTable.cpp
Removed:
################################################################################
diff --git a/mlir/lib/IR/SymbolTable.cpp b/mlir/lib/IR/SymbolTable.cpp
index 8ff1859e1383fcb..727bd6b18396180 100644
--- a/mlir/lib/IR/SymbolTable.cpp
+++ b/mlir/lib/IR/SymbolTable.cpp
@@ -225,6 +225,7 @@ LogicalResult SymbolTable::rename(StringAttr from, StringAttr to) {
LogicalResult SymbolTable::rename(Operation *op, StringAttr to) {
StringAttr from = getNameIfSymbol(op);
+ (void)from;
assert(from && "expected valid 'name' attribute");
assert(op->getParentOp() == symbolTableOp &&
More information about the Mlir-commits
mailing list