From 2f215472088ac46da021786f4c2549460ac80cc3 Mon Sep 17 00:00:00 2001 From: Alkis Evlogimenos Date: Wed, 11 Feb 2004 06:04:51 +0000 Subject: [PATCH] Remove assert as the only integer registers on the sparc are physical. llvm-svn: 11317 --- llvm/lib/Target/Sparc/SparcV9CodeEmitter.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/llvm/lib/Target/Sparc/SparcV9CodeEmitter.cpp b/llvm/lib/Target/Sparc/SparcV9CodeEmitter.cpp index b69408d2bacc..495f79171ebe 100644 --- a/llvm/lib/Target/Sparc/SparcV9CodeEmitter.cpp +++ b/llvm/lib/Target/Sparc/SparcV9CodeEmitter.cpp @@ -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.