summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-08-29 20:42:07 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-08-29 20:42:07 +0000
commit43e5fe3fac5f5925063acd29fc023ca287337eb4 (patch)
treee4a922ea5b8d843f14c7ef8a987169e5acf360e5 /llvm/lib/Target
parentef72107a490b26b59a0edd78c971b4ccdbcc7967 (diff)
downloadbcm5719-llvm-43e5fe3fac5f5925063acd29fc023ca287337eb4.tar.gz
bcm5719-llvm-43e5fe3fac5f5925063acd29fc023ca287337eb4.zip
AMDGPU: fix mismatch tags, NFC
llvm-svn: 280006
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h2
-rw-r--r--llvm/lib/Target/AMDGPU/SIRegisterInfo.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h b/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
index 61b38c8e55f..f1cc5347162 100644
--- a/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
+++ b/llvm/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/llvm/lib/Target/AMDGPU/SIRegisterInfo.h b/llvm/lib/Target/AMDGPU/SIRegisterInfo.h
index 6e66c52da6c..c431b85ab46 100644
--- a/llvm/lib/Target/AMDGPU/SIRegisterInfo.h
+++ b/llvm/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;
OpenPOWER on IntegriCloud