commit | 375be7730a6f3dee7a6dc319ee6c355a11ac99ad | [log] [tgz] |
---|---|---|
author | Dale Johannesen <dalej@apple.com> | Wed Apr 07 19:51:44 2010 +0000 |
committer | Dale Johannesen <dalej@apple.com> | Wed Apr 07 19:51:44 2010 +0000 |
tree | a09787d9aa5c07cf57ef7740530223b37395394a | |
parent | 272369149209bad11f2b2f9020362f77fae60579 [diff] [blame] |
Educate GetInstrSizeInBytes implementations that DBG_VALUE does not generate code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100681 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/MSP430/MSP430InstrInfo.cpp b/lib/Target/MSP430/MSP430InstrInfo.cpp index 0381904..24ce403 100644 --- a/lib/Target/MSP430/MSP430InstrInfo.cpp +++ b/lib/Target/MSP430/MSP430InstrInfo.cpp
@@ -365,6 +365,7 @@ 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();