Skip to content

Commit 3ce24a3

Browse files
kazutakahiratayuxuanchen1997
authored andcommitted
[mlir] Fix a warning
Summary: This patch fixes: mlir/lib/Dialect/ArmSME/Transforms/TileAllocation.cpp:621:16: error: unused variable 'removed' [-Werror,-Wunused-variable] Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: https://phabricator.intern.facebook.com/D60251300
1 parent b3070e9 commit 3ce24a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mlir/lib/Dialect/ArmSME/Transforms/TileAllocation.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,7 @@ void allocateTilesToLiveRanges(
620620
if (!activeRanges.remove(rangeToSpill)) {
621621
bool removed = inactiveRanges.remove(rangeToSpill);
622622
assert(removed && "expected a range to be removed!");
623+
(void)removed;
623624
}
624625
}
625626
rangeToSpill->tileId = tileAllocator.allocateInMemoryTileId();

0 commit comments

Comments
 (0)