summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
diff options
context:
space:
mode:
authorKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>2016-05-24 18:37:18 +0000
committerKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>2016-05-24 18:37:18 +0000
commit29ddd2b2f270babae0b46b923182f3df7de2aab8 (patch)
treeeca08360369d6c6fa0d8b7c7c7a8b31abb47336f /llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
parent3cc425837d6a6cfe7efbaa53f493d8b20a9232da (diff)
downloadbcm5719-llvm-29ddd2b2f270babae0b46b923182f3df7de2aab8.tar.gz
bcm5719-llvm-29ddd2b2f270babae0b46b923182f3df7de2aab8.zip
[AMDGPU][NFC] Rename ReserveTrapVGPRs -> ReserveRegs
Differential Revision: http://reviews.llvm.org/D20081 llvm-svn: 270594
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp')
-rw-r--r--llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp b/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
index d10a9c1a846..2b7c0f3a2e8 100644
--- a/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
+++ b/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
@@ -49,7 +49,7 @@ SIMachineFunctionInfo::SIMachineFunctionInfo(const MachineFunction &MF)
PSInputAddr(0),
ReturnsVoid(true),
MaximumWorkGroupSize(0),
- DebuggerReserveTrapVGPRCount(0),
+ DebuggerReservedVGPRCount(0),
LDSWaveSpillSize(0),
PSInputEna(0),
NumUserSGPRs(0),
@@ -134,8 +134,8 @@ SIMachineFunctionInfo::SIMachineFunctionInfo(const MachineFunction &MF)
else
MaximumWorkGroupSize = ST.getWavefrontSize();
- if (ST.debuggerReserveTrapVGPRs())
- DebuggerReserveTrapVGPRCount = 4;
+ if (ST.debuggerReserveRegs())
+ DebuggerReservedVGPRCount = 4;
}
unsigned SIMachineFunctionInfo::addPrivateSegmentBuffer(
OpenPOWER on IntegriCloud