mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
[AMDGPU] Print register pressure for agpr and vgpr separately
Differential Revision: https://reviews.llvm.org/D65476 llvm-svn: 367355
This commit is contained in:
parent
3ef8f1e34d
commit
56df3032ac
@ -183,7 +183,8 @@ bool GCNRegPressure::less(const GCNSubtarget &ST,
|
||||
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
|
||||
LLVM_DUMP_METHOD
|
||||
void GCNRegPressure::print(raw_ostream &OS, const GCNSubtarget *ST) const {
|
||||
OS << "VGPRs: " << getVGPRNum();
|
||||
OS << "VGPRs: " << Value[VGPR32] << ' ';
|
||||
OS << "AGPRs: " << Value[AGPR32];
|
||||
if (ST) OS << "(O" << ST->getOccupancyWithNumVGPRs(getVGPRNum()) << ')';
|
||||
OS << ", SGPRs: " << getSGPRNum();
|
||||
if (ST) OS << "(O" << ST->getOccupancyWithNumSGPRs(getSGPRNum()) << ')';
|
||||
|
Loading…
x
Reference in New Issue
Block a user