diff options
author | Dale Johannesen <dalej@apple.com> | 2010-04-07 19:51:44 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2010-04-07 19:51:44 +0000 |
commit | 60b289709ecea99b7d80cdc6ec507e478e073aaa (patch) | |
tree | cac9bcb814fdbc7740b20dd5061ab993f1ed0e72 /llvm/lib/Target/MSP430/MSP430InstrInfo.cpp | |
parent | 08d85da6cce3116149cff21456f64dcff7cf2a2e (diff) | |
download | bcm5719-llvm-60b289709ecea99b7d80cdc6ec507e478e073aaa.tar.gz bcm5719-llvm-60b289709ecea99b7d80cdc6ec507e478e073aaa.zip |
Educate GetInstrSizeInBytes implementations that
DBG_VALUE does not generate code.
llvm-svn: 100681
Diffstat (limited to 'llvm/lib/Target/MSP430/MSP430InstrInfo.cpp')
-rw-r--r-- | llvm/lib/Target/MSP430/MSP430InstrInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/MSP430/MSP430InstrInfo.cpp b/llvm/lib/Target/MSP430/MSP430InstrInfo.cpp index 03819041067..24ce403ddc7 100644 --- a/llvm/lib/Target/MSP430/MSP430InstrInfo.cpp +++ b/llvm/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(); |