commit | 60b289709ecea99b7d80cdc6ec507e478e073aaa | [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 | cac9bcb814fdbc7740b20dd5061ab993f1ed0e72 | |
parent | 08d85da6cce3116149cff21456f64dcff7cf2a2e [diff] [blame] |
Educate GetInstrSizeInBytes implementations that DBG_VALUE does not generate code. llvm-svn: 100681
diff --git a/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp b/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp index 6b0a282..bc45c22 100644 --- a/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp +++ b/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
@@ -778,6 +778,7 @@ 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