[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:
Stanislav Mekhanoshin 2017-02-23 21:51:28 +00:00
parent 1338122b25
commit 78468e48cf
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,8 @@ class SISubtarget;
class SIMachineFunctionInfo;
class SIRegisterInfo final : public AMDGPURegisterInfo {
using AMDGPUGenRegisterInfo::getRegUnitWeight;
private:
unsigned SGPRSetID;
unsigned VGPRSetID;