forked from OSchip/llvm-project
[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
2ee6497e8f
commit
9aff33bb95
|
@ -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…
Reference in New Issue