[llvm] r226686 - LiveIntervalAnalysis: Remove unused pruneValue() variant.
Matthias Braun
matze at braunis.de
Wed Jan 21 10:45:57 PST 2015
Author: matze
Date: Wed Jan 21 12:45:57 2015
New Revision: 226686
URL: http://llvm.org/viewvc/llvm-project?rev=226686&view=rev
Log:
LiveIntervalAnalysis: Remove unused pruneValue() variant.
Modified:
llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h
llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp
Modified: llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h?rev=226686&r1=226685&r2=226686&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h (original)
+++ llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h Wed Jan 21 12:45:57 2015
@@ -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;
}
Modified: llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp?rev=226686&r1=226685&r2=226686&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp (original)
+++ llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp Wed Jan 21 12:45:57 2015
@@ -609,15 +609,6 @@ void LiveIntervals::pruneValue(LiveRange
}
}
-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.
//
More information about the llvm-commits
mailing list