Skip to content
  • Jakob Stoklund Olesen's avatar
    Fix verification of explicit operands. · 75b9c274
    Jakob Stoklund Olesen authored
    The machine code verifier did not check for explicit operands correctly. It
    used MachineInstr::getNumExplicitOperands, but that method may cheat and use
    the declared count in the TargetInstrDesc.
    
    Now we check the explicit operands one at a time in visitMachineOperand.
    
    llvm-svn: 82652
    75b9c274
Loading