[llvm] AMDGPU: Remove unused getEquivalentAGPRClass (PR #157671)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 9 06:42:37 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-amdgpu
Author: Matt Arsenault (arsenm)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/157671.diff
1 Files Affected:
- (modified) llvm/lib/Target/AMDGPU/SIInstrInfo.td (-10)
``````````diff
diff --git a/llvm/lib/Target/AMDGPU/SIInstrInfo.td b/llvm/lib/Target/AMDGPU/SIInstrInfo.td
index 562023cde44a4..720f1e93dfaa8 100644
--- a/llvm/lib/Target/AMDGPU/SIInstrInfo.td
+++ b/llvm/lib/Target/AMDGPU/SIInstrInfo.td
@@ -2602,16 +2602,6 @@ class getAlign2RegOp<RegisterOperand RC> {
!eq(RC, AVLdSt_160_Align1) : AVLdSt_160_Align2);
}
-class getEquivalentAGPRClass<RegisterClass RC> {
- RegisterClass ret =
- !cond(!eq(RC.Size, 32) : AGPR_32,
- !eq(RC.Size, 64) : AReg_64,
- !eq(RC.Size, 96) : AReg_96,
- !eq(RC.Size, 128) : AReg_128,
- !eq(RC.Size, 160) : AReg_160,
- !eq(RC.Size, 1024) : AReg_1024);
-}
-
class getEquivalentAGPROperand<RegisterOperand RC> {
defvar Size = RC.RegClass.Size;
RegisterOperand ret =
``````````
</details>
https://github.com/llvm/llvm-project/pull/157671
More information about the llvm-commits
mailing list