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 | 375be7730a6f3dee7a6dc319ee6c355a11ac99ad (patch) | |
tree | a09787d9aa5c07cf57ef7740530223b37395394a /lib/Target/PowerPC/PPCInstrInfo.cpp | |
parent | 272369149209bad11f2b2f9020362f77fae60579 (diff) | |
download | llvm-375be7730a6f3dee7a6dc319ee6c355a11ac99ad.tar.gz llvm-375be7730a6f3dee7a6dc319ee6c355a11ac99ad.tar.bz2 llvm-375be7730a6f3dee7a6dc319ee6c355a11ac99ad.tar.xz |
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
Diffstat (limited to 'lib/Target/PowerPC/PPCInstrInfo.cpp')
-rw-r--r-- | lib/Target/PowerPC/PPCInstrInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCInstrInfo.cpp b/lib/Target/PowerPC/PPCInstrInfo.cpp index 6b0a282af0..bc45c22972 100644 --- a/lib/Target/PowerPC/PPCInstrInfo.cpp +++ b/lib/Target/PowerPC/PPCInstrInfo.cpp @@ -778,6 +778,7 @@ unsigned PPCInstrInfo::GetInstSizeInBytes(const MachineInstr *MI) const { case PPC::DBG_LABEL: case PPC::EH_LABEL: case PPC::GC_LABEL: + case PPC::DBG_VALUE: return 0; default: return 4; // PowerPC instructions are all 4 bytes |