From: Evan Cheng Date: Fri, 12 Oct 2007 17:16:50 +0000 (+0000) Subject: Did mean to leave this in. INSERT_SUBREG isn't being coalesced yet. X-Git-Tag: android-x86-6.0-r1~1003^2~32346 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=48ff282dd49197d2b42285b769126ba7991aa93a;p=android-x86%2Fexternal-llvm.git Did mean to leave this in. INSERT_SUBREG isn't being coalesced yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42916 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index 5ed24a3be23..c574bef4a6e 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -448,8 +448,7 @@ void LiveIntervals::handleVirtualRegisterDef(MachineBasicBlock *mbb, unsigned SrcReg, DstReg; if (tii_->isMoveInstr(*mi, SrcReg, DstReg)) ValNo = interval.getNextValue(defIndex, SrcReg, VNInfoAllocator); - else if (mi->getOpcode() == TargetInstrInfo::EXTRACT_SUBREG || - mi->getOpcode() == TargetInstrInfo::INSERT_SUBREG) + else if (mi->getOpcode() == TargetInstrInfo::EXTRACT_SUBREG) ValNo = interval.getNextValue(defIndex, mi->getOperand(1).getReg(), VNInfoAllocator); else