From ccd79f2c2105388f7eca73b4bdfc1922b3034783 Mon Sep 17 00:00:00 2001 From: Alkis Evlogimenos Date: Wed, 11 Feb 2004 04:52:30 +0000 Subject: [PATCH] Remove assert as it is meaningless. MachineOperands can be tagged as MO_VirtualRegister but actually be representing a physical register. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11310 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/SparcV9/SparcV9CodeEmitter.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/Target/SparcV9/SparcV9CodeEmitter.cpp b/lib/Target/SparcV9/SparcV9CodeEmitter.cpp index 01da2fdcf5c..3deb9e5e552 100644 --- a/lib/Target/SparcV9/SparcV9CodeEmitter.cpp +++ b/lib/Target/SparcV9/SparcV9CodeEmitter.cpp @@ -594,8 +594,6 @@ int64_t SparcV9CodeEmitter::getMachineOpValue(MachineInstr &MI, MachineOperand &MO) { int64_t rv = 0; // Return value; defaults to 0 for unhandled cases // or things that get fixed up later by the JIT. - assert(MO.getType() != MachineOperand::MO_VirtualRegister && - "ERROR: virtual register found in machine code."); if (MO.isPCRelativeDisp()) { DEBUG(std::cerr << "PCRelativeDisp: "); Value *V = MO.getVRegValue();