forked from OSchip/llvm-project
[AMDGPU] Shut the warning "getRegUnitWeight hides overload...". NFC.
Clang issues warning about hidden overload. That was intended, so add "using AMDGPUGenRegisterInfo::getRegUnitWeight;" to mute it. llvm-svn: 296021
This commit is contained in:
parent
1338122b25
commit
78468e48cf
|
@ -26,6 +26,8 @@ class SISubtarget;
|
||||||
class SIMachineFunctionInfo;
|
class SIMachineFunctionInfo;
|
||||||
|
|
||||||
class SIRegisterInfo final : public AMDGPURegisterInfo {
|
class SIRegisterInfo final : public AMDGPURegisterInfo {
|
||||||
|
using AMDGPUGenRegisterInfo::getRegUnitWeight;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
unsigned SGPRSetID;
|
unsigned SGPRSetID;
|
||||||
unsigned VGPRSetID;
|
unsigned VGPRSetID;
|
||||||
|
|
Loading…
Reference in New Issue