mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-27 22:55:15 +00:00
ignore register #0
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25223 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
35ef913ec2
commit
140e99babc
@ -2078,7 +2078,7 @@ void SDNode::dump(const SelectionDAG *G) const {
|
||||
std::cerr << LBB->getName() << " ";
|
||||
std::cerr << (const void*)BBDN->getBasicBlock() << ">";
|
||||
} else if (const RegisterSDNode *R = dyn_cast<RegisterSDNode>(this)) {
|
||||
if (G && MRegisterInfo::isPhysicalRegister(R->getReg())) {
|
||||
if (G && R->getReg() && MRegisterInfo::isPhysicalRegister(R->getReg())) {
|
||||
std::cerr << " " <<G->getTarget().getRegisterInfo()->getName(R->getReg());
|
||||
} else {
|
||||
std::cerr << " #" << R->getReg();
|
||||
|
Loading…
Reference in New Issue
Block a user