mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 21:18:19 +00:00
Replace all target specific implicit def instructions with a target independent one: TargetInstrInfo::IMPLICIT_DEF.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48380 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -877,6 +877,8 @@ unsigned ARM::GetInstSize(MachineInstr *MI) {
|
||||
return TAI->getInlineAsmLength(MI->getOperand(0).getSymbolName());
|
||||
if (MI->getOpcode() == ARM::LABEL)
|
||||
return 0;
|
||||
if (MI->getOpcode() == TargetInstrInfo::IMPLICIT_DEF)
|
||||
return 0;
|
||||
assert(0 && "Unknown or unset size field for instr!");
|
||||
break;
|
||||
case ARMII::Size8Bytes: return 8; // Arm instruction x 2.
|
||||
|
||||
Reference in New Issue
Block a user