mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-11 21:57:55 +00:00
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
This commit is contained in:
parent
b060194a70
commit
ccd79f2c21
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user