mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-04 06:09:05 +00:00
Simplify. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203202 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ab5573ef1b
commit
49dd5e831b
@ -730,9 +730,6 @@ unsigned AArch64InstrInfo::getInstSizeInBytes(const MachineInstr &MI) const {
|
||||
if (MI.getOpcode() == AArch64::INLINEASM)
|
||||
return getInlineAsmLength(MI.getOperand(0).getSymbolName(), MAI);
|
||||
|
||||
if (MI.isLabel())
|
||||
return 0;
|
||||
|
||||
switch (MI.getOpcode()) {
|
||||
case TargetOpcode::BUNDLE:
|
||||
return getInstBundleLength(MI);
|
||||
@ -740,8 +737,8 @@ unsigned AArch64InstrInfo::getInstSizeInBytes(const MachineInstr &MI) const {
|
||||
case TargetOpcode::KILL:
|
||||
case TargetOpcode::PROLOG_LABEL:
|
||||
case TargetOpcode::EH_LABEL:
|
||||
case TargetOpcode::GC_LABEL:
|
||||
case TargetOpcode::DBG_VALUE:
|
||||
return 0;
|
||||
case AArch64::TLSDESCCALL:
|
||||
return 0;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user