Remove assert as the only integer registers on the sparc are physical.

llvm-svn: 11317
This commit is contained in:
Alkis Evlogimenos 2004-02-11 06:04:51 +00:00
parent 1dec4a1eda
commit 2f21547208
1 changed files with 0 additions and 3 deletions

View File

@ -29,7 +29,6 @@
#include "llvm/CodeGen/MachineFunctionInfo.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/Target/MRegisterInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetData.h"
#include "Support/Debug.h"
@ -659,8 +658,6 @@ int64_t SparcV9CodeEmitter::getMachineOpValue(MachineInstr &MI,
}
} else if (MO.isRegister() || MO.getType() == MachineOperand::MO_CCRegister)
{
assert(MRegisterInfo::isPhysicalRegister(MO.getReg()) &&
"virtual register in machine code!");
// This is necessary because the Sparc backend doesn't actually lay out
// registers in the real fashion -- it skips those that it chooses not to
// allocate, i.e. those that are the FP, SP, etc.