Remove use of isPhysicalRegister

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11277 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-02-10 20:35:42 +00:00
parent 6d21518718
commit bd0485034c

View File

@ -660,7 +660,7 @@ int64_t SparcV9CodeEmitter::getMachineOpValue(MachineInstr &MI,
std::cerr << "ERROR: PC relative disp unhandled:" << MO << "\n"; std::cerr << "ERROR: PC relative disp unhandled:" << MO << "\n";
abort(); abort();
} }
} else if (MO.isPhysicalRegister() || } else if (MO.getType() == MachineOperand::MO_MachineRegister ||
MO.getType() == MachineOperand::MO_CCRegister) MO.getType() == MachineOperand::MO_CCRegister)
{ {
// This is necessary because the Sparc backend doesn't actually lay out // This is necessary because the Sparc backend doesn't actually lay out