Ignore all implicit reg operands

llvm-svn: 84708
This commit is contained in:
Anton Korobeynikov 2009-10-21 00:12:44 +00:00
parent 196b0e5431
commit 8a06a4e5c8
1 changed files with 2 additions and 0 deletions

View File

@ -100,6 +100,8 @@ void MSP430MCInstLower::Lower(const MachineInstr *MI, MCInst &OutMI) const {
MI->dump();
assert(0 && "unknown operand type");
case MachineOperand::MO_Register:
// Ignore all implicit register operands.
if (MO.isImplicit()) continue;
MCOp = MCOperand::CreateReg(MO.getReg());
break;
case MachineOperand::MO_Immediate: