[llvm] Fix unused variable (PR #134069)

Akshat Oke via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 2 04:19:45 PDT 2025


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

None

>From fb38e39a2eb5d9ee552222b199c9be6f046d17cd Mon Sep 17 00:00:00 2001
From: Akshat Oke <Akshat.Oke at amd.com>
Date: Wed, 2 Apr 2025 11:18:37 +0000
Subject: [PATCH] Fix unused variable

---
 llvm/lib/Target/AMDGPU/AMDGPUSetWavePriority.cpp | 2 --
 1 file changed, 2 deletions(-)

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:



More information about the llvm-commits mailing list