mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Make -print-machineinstrs more readable.
- Be consistent when referring to MachineBasicBlocks: BB#0. - Be consistent when referring to virtual registers: %reg1024. - Be consistent when referring to unknown physical registers: %physreg10. - Be consistent when referring to known physical registers: %RAX - Be consistent when referring to register 0: %reg0 - Be consistent when printing alignments: align=16 - Print jump table contents. - Don't print host addresses, in general. - and various other cleanups. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85682 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -5754,9 +5754,9 @@ void SDNode::print_details(raw_ostream &OS, const SelectionDAG *G) const {
|
||||
} else if (const RegisterSDNode *R = dyn_cast<RegisterSDNode>(this)) {
|
||||
if (G && R->getReg() &&
|
||||
TargetRegisterInfo::isPhysicalRegister(R->getReg())) {
|
||||
OS << " " << G->getTarget().getRegisterInfo()->getName(R->getReg());
|
||||
OS << " %" << G->getTarget().getRegisterInfo()->getName(R->getReg());
|
||||
} else {
|
||||
OS << " #" << R->getReg();
|
||||
OS << " %reg" << R->getReg();
|
||||
}
|
||||
} else if (const ExternalSymbolSDNode *ES =
|
||||
dyn_cast<ExternalSymbolSDNode>(this)) {
|
||||
|
||||
Reference in New Issue
Block a user