[Mlir-commits] [mlir] a41a4b8 - Revert "[mlir][ArmSME] Suppress potential unused warning (#99573)" (#99578)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Jul 18 14:59:29 PDT 2024
Author: Chenguang Wang
Date: 2024-07-18T14:59:26-07:00
New Revision: a41a4b8feda789529e4e927d9d6a04b7be8e9664
URL: https://github.com/llvm/llvm-project/commit/a41a4b8feda789529e4e927d9d6a04b7be8e9664
DIFF: https://github.com/llvm/llvm-project/commit/a41a4b8feda789529e4e927d9d6a04b7be8e9664.diff
LOG: Revert "[mlir][ArmSME] Suppress potential unused warning (#99573)" (#99578)
This reverts commit 05bce3f079b677edd0efd28e3923f4776ffb8b59.
The work was already done in 99faa03.
Added:
Modified:
mlir/lib/Dialect/ArmSME/Transforms/TileAllocation.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/ArmSME/Transforms/TileAllocation.cpp b/mlir/lib/Dialect/ArmSME/Transforms/TileAllocation.cpp
index e3fc3473c6c6b..3a2042d23e534 100644
--- a/mlir/lib/Dialect/ArmSME/Transforms/TileAllocation.cpp
+++ b/mlir/lib/Dialect/ArmSME/Transforms/TileAllocation.cpp
@@ -619,7 +619,6 @@ void allocateTilesToLiveRanges(
// Remove the live range from the active/inactive sets.
if (!activeRanges.remove(rangeToSpill)) {
bool removed = inactiveRanges.remove(rangeToSpill);
- (void)removed;
assert(removed && "expected a range to be removed!");
(void)removed;
}
More information about the Mlir-commits
mailing list