mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-24 13:18:17 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user