From 702e5135766ad2cfb568ea95ee72744ed85fa769 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Mon, 29 Aug 2016 20:42:07 +0000 Subject: [PATCH] AMDGPU: fix mismatch tags, NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280006 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/AMDGPU/SIMachineFunctionInfo.h | 2 +- lib/Target/AMDGPU/SIRegisterInfo.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/AMDGPU/SIMachineFunctionInfo.h b/lib/Target/AMDGPU/SIMachineFunctionInfo.h index 61b38c8e55f..f1cc5347162 100644 --- a/lib/Target/AMDGPU/SIMachineFunctionInfo.h +++ b/lib/Target/AMDGPU/SIMachineFunctionInfo.h @@ -27,7 +27,7 @@ class MachineRegisterInfo; /// tells the hardware which interpolation parameters to load. class SIMachineFunctionInfo final : public AMDGPUMachineFunction { // FIXME: This should be removed and getPreloadedValue moved here. - friend struct SIRegisterInfo; + friend class SIRegisterInfo; unsigned TIDReg; diff --git a/lib/Target/AMDGPU/SIRegisterInfo.h b/lib/Target/AMDGPU/SIRegisterInfo.h index 6e66c52da6c..c431b85ab46 100644 --- a/lib/Target/AMDGPU/SIRegisterInfo.h +++ b/lib/Target/AMDGPU/SIRegisterInfo.h @@ -23,7 +23,7 @@ namespace llvm { class SISubtarget; class MachineRegisterInfo; -struct SIRegisterInfo final : public AMDGPURegisterInfo { +class SIRegisterInfo final : public AMDGPURegisterInfo { private: unsigned SGPRSetID; unsigned VGPRSetID;