Skip to content

Revert "[mlir][ArmSME] Suppress potential unused warning (#99573)" #99578

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

wecing
Copy link
Contributor

@wecing wecing commented Jul 18, 2024

This reverts commit 05bce3f.

The work was already done in 99faa03.

This reverts commit 05bce3f.

The work was already done in 99faa03.
@wecing wecing merged commit a41a4b8 into llvm:main Jul 18, 2024
4 of 5 checks passed
@llvmbot
Copy link
Member

llvmbot commented Jul 18, 2024

@llvm/pr-subscribers-mlir-sme

@llvm/pr-subscribers-mlir

Author: Chenguang Wang (wecing)

Changes

This reverts commit 05bce3f.

The work was already done in 99faa03.


Full diff: https://github.com/llvm/llvm-project/pull/99578.diff

1 Files Affected:

  • (modified) mlir/lib/Dialect/ArmSME/Transforms/TileAllocation.cpp (-1)
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;
         }

yuxuanchen1997 pushed a commit that referenced this pull request Jul 25, 2024
…99578)

This reverts commit 05bce3f.

The work was already done in 99faa03.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants