[llvm-commits] [llvm] r42916 - /llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp

Evan Cheng evan.cheng at apple.com
Fri Oct 12 10:16:51 PDT 2007


Author: evancheng
Date: Fri Oct 12 12:16:50 2007
New Revision: 42916

URL: http://llvm.org/viewvc/llvm-project?rev=42916&view=rev
Log:
Did mean to leave this in. INSERT_SUBREG isn't being coalesced yet.

Modified:
    llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp

Modified: llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp?rev=42916&r1=42915&r2=42916&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp (original)
+++ llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp Fri Oct 12 12:16:50 2007
@@ -448,8 +448,7 @@
     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





More information about the llvm-commits mailing list