From: Rafael Espindola Date: Fri, 7 Mar 2014 04:58:32 +0000 (+0000) Subject: Simplify. No functionality change. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=49dd5e831bc4ec55b91f0ffd293ecf2a56cb1568;p=oota-llvm.git Simplify. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203202 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/AArch64/AArch64InstrInfo.cpp b/lib/Target/AArch64/AArch64InstrInfo.cpp index 092af05e199..d7fa0a1db5d 100644 --- a/lib/Target/AArch64/AArch64InstrInfo.cpp +++ b/lib/Target/AArch64/AArch64InstrInfo.cpp @@ -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: