Educate GetInstrSizeInBytes implementations that
[oota-llvm.git] / lib / Target / MSP430 / MSP430InstrInfo.cpp
index 03819041067c6fd11d993bbc5fbd63853df3f7a6..24ce403ddc7e88cc4c929e650c534ca0e581bdf2 100644 (file)
@@ -365,6 +365,7 @@ unsigned MSP430InstrInfo::GetInstSizeInBytes(const MachineInstr *MI) const {
     case TargetOpcode::EH_LABEL:
     case TargetOpcode::IMPLICIT_DEF:
     case TargetOpcode::KILL:
+    case TargetOpcode::DBG_VALUE:
       return 0;
     case TargetOpcode::INLINEASM: {
       const MachineFunction *MF = MI->getParent()->getParent();