diff options
author | Jay Foad <jay.foad@amd.com> | 2024-01-23 14:17:58 +0000 |
---|---|---|
committer | Jay Foad <jay.foad@amd.com> | 2024-01-23 14:24:40 +0000 |
commit | 818f13fc00bb29df98d730dca6561014db1d4e26 (patch) | |
tree | f18cc39fe5db6b24003669b4c56abf27e1cd1af4 | |
parent | 10bd69a4f72a094f4e157ed3e226da426432ef74 (diff) | |
download | llvm-818f13fc00bb29df98d730dca6561014db1d4e26.zip llvm-818f13fc00bb29df98d730dca6561014db1d4e26.tar.gz llvm-818f13fc00bb29df98d730dca6561014db1d4e26.tar.bz2 |
[AMDGPU] Remove getWorkGroupIDSGPR, unused since aa6fb4c45e01
-rw-r--r-- | llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h b/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h index dc63ae4..ecc31fb 100644 --- a/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h +++ b/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h @@ -1041,22 +1041,6 @@ public: return WavesPerEU.second; } - /// \returns SGPR used for \p Dim's work group ID. - Register getWorkGroupIDSGPR(unsigned Dim) const { - switch (Dim) { - case 0: - assert(hasWorkGroupIDX()); - return ArgInfo.WorkGroupIDX.getRegister(); - case 1: - assert(hasWorkGroupIDY()); - return ArgInfo.WorkGroupIDY.getRegister(); - case 2: - assert(hasWorkGroupIDZ()); - return ArgInfo.WorkGroupIDZ.getRegister(); - } - llvm_unreachable("unexpected dimension"); - } - const AMDGPUGWSResourcePseudoSourceValue * getGWSPSV(const AMDGPUTargetMachine &TM) { return &GWSResourcePSV; |