diff --git a/mlir/lib/Dialect/ArmSME/Transforms/TileAllocation.cpp b/mlir/lib/Dialect/ArmSME/Transforms/TileAllocation.cpp index e3fc3473c6c6be..3a2042d23e5346 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; }