projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Educate GetInstrSizeInBytes implementations that
[oota-llvm.git]
/
lib
/
Target
/
MSP430
/
MSP430InstrInfo.cpp
diff --git
a/lib/Target/MSP430/MSP430InstrInfo.cpp
b/lib/Target/MSP430/MSP430InstrInfo.cpp
index 03819041067c6fd11d993bbc5fbd63853df3f7a6..24ce403ddc7e88cc4c929e650c534ca0e581bdf2 100644
(file)
--- a/
lib/Target/MSP430/MSP430InstrInfo.cpp
+++ b/
lib/Target/MSP430/MSP430InstrInfo.cpp
@@
-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();