]> granicus.if.org Git - llvm/commitdiff
LiveIntervalAnalysis: Remove unused pruneValue() variant.
authorMatthias Braun <matze@braunis.de>
Wed, 21 Jan 2015 18:45:57 +0000 (18:45 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 21 Jan 2015 18:45:57 +0000 (18:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226686 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/LiveIntervalAnalysis.h
lib/CodeGen/LiveIntervalAnalysis.cpp

index d8c921fce313700e5e46cf6753c5028a848cc664..61c705e04d29be4b028c2dc54e5eec2c040a29b3 100644 (file)
@@ -181,12 +181,6 @@ namespace llvm {
     void pruneValue(LiveRange &LR, SlotIndex Kill,
                     SmallVectorImpl<SlotIndex> *EndPoints);
 
-    /// Subregister aware variant of pruneValue(LiveRange &LR, SlotIndex Kill,
-    /// SmallVectorImpl<SlotIndex> &EndPoints). Prunes the value in the main
-    /// range and all sub ranges.
-    void pruneValue(LiveInterval &LI, SlotIndex Kill,
-                    SmallVectorImpl<SlotIndex> *EndPoints);
-
     SlotIndexes *getSlotIndexes() const {
       return Indexes;
     }
index 56f38b6407d95d6abd4f9c7691918d6c7e098642..36aeaa176a28195fe06a816aedabee969872ea6f 100644 (file)
@@ -609,15 +609,6 @@ void LiveIntervals::pruneValue(LiveRange &LR, SlotIndex Kill,
   }
 }
 
-void LiveIntervals::pruneValue(LiveInterval &LI, SlotIndex Kill,
-                               SmallVectorImpl<SlotIndex> *EndPoints) {
-  pruneValue((LiveRange&)LI, Kill, EndPoints);
-
-  for (LiveInterval::SubRange &SR : LI.subranges()) {
-    pruneValue(SR, Kill, nullptr);
-  }
-}
-
 //===----------------------------------------------------------------------===//
 // Register allocator hooks.
 //