diff options
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveIntervalAnalysis.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp index 2358b0e..622b9c2 100644 --- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -1566,22 +1566,6 @@ void LiveIntervals::splitSeparateComponents(LiveInterval &LI, ConEQ.Distribute(LI, SplitLIs.data(), *MRI); } -void LiveIntervals::renameDisconnectedComponents() { - ConnectedSubRegClasses SubRegClasses(*this, *MRI, *TII); - - // Iterate over all vregs. Note that we query getNumVirtRegs() the newly - // created vregs end up with higher numbers but do not need to be visited as - // there can't be any further splitting. - for (size_t I = 0, E = MRI->getNumVirtRegs(); I < E; ++I) { - unsigned Reg = TargetRegisterInfo::index2VirtReg(I); - LiveInterval *LI = VirtRegIntervals[Reg]; - if (LI == nullptr || !LI->hasSubRanges()) - continue; - - SubRegClasses.renameComponents(*LI); - } -} - void LiveIntervals::constructMainRangeFromSubranges(LiveInterval &LI) { assert(LRCalc && "LRCalc not initialized."); LRCalc->reset(MF, getSlotIndexes(), DomTree, &getVNInfoAllocator()); |