Skip to content

Commit

Permalink
[TableGen] Dump RC.AllocationPriority with -register-info-debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jayfoad committed Apr 26, 2022
1 parent 69c66bb commit fb57171
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/utils/TableGen/RegisterInfoEmitter.cpp
Expand Up @@ -1726,6 +1726,7 @@ void RegisterInfoEmitter::debugDump(raw_ostream &OS) {
OS << "\tHasDisjunctSubRegs: " << RC.HasDisjunctSubRegs << '\n';
OS << "\tCoveredBySubRegs: " << RC.CoveredBySubRegs << '\n';
OS << "\tAllocatable: " << RC.Allocatable << '\n';
OS << "\tAllocationPriority: " << unsigned(RC.AllocationPriority) << '\n';
OS << "\tRegs:";
for (const CodeGenRegister *R : RC.getMembers()) {
OS << " " << R->getName();
Expand Down

0 comments on commit fb57171

Please sign in to comment.