[llvm] [AMDGPU] Fix unused variable NFC. (PR #134069)

via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 2 04:21:08 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-backend-amdgpu

Author: Akshat Oke (optimisan)

<details>
<summary>Changes</summary>



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


1 Files Affected:

- (modified) llvm/lib/Target/AMDGPU/AMDGPUSetWavePriority.cpp (-2) 


``````````diff
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUSetWavePriority.cpp b/llvm/lib/Target/AMDGPU/AMDGPUSetWavePriority.cpp
index ecce50f476777..b60ded33a4ac3 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUSetWavePriority.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPUSetWavePriority.cpp
@@ -43,8 +43,6 @@ using MBBInfoSet = DenseMap<const MachineBasicBlock *, MBBInfo>;
 
 class AMDGPUSetWavePriority {
 public:
-  static char ID;
-
   bool run(MachineFunction &MF);
 
 private:

``````````

</details>


https://github.com/llvm/llvm-project/pull/134069


More information about the llvm-commits mailing list