[llvm] r296721 - LiveIntervalUnion: Remove unused function; NFC
Matthias Braun via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 1 16:15:07 PST 2017
Author: matze
Date: Wed Mar 1 18:15:06 2017
New Revision: 296721
URL: http://llvm.org/viewvc/llvm-project?rev=296721&view=rev
Log:
LiveIntervalUnion: Remove unused function; NFC
Modified:
llvm/trunk/include/llvm/CodeGen/LiveIntervalUnion.h
Modified: llvm/trunk/include/llvm/CodeGen/LiveIntervalUnion.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/LiveIntervalUnion.h?rev=296721&r1=296720&r2=296721&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/LiveIntervalUnion.h (original)
+++ llvm/trunk/include/llvm/CodeGen/LiveIntervalUnion.h Wed Mar 1 18:15:06 2017
@@ -34,13 +34,6 @@ template <unsigned Element> class Sparse
typedef SparseBitVector<128> LiveVirtRegBitSet;
#endif
-/// Compare a live virtual register segment to a LiveIntervalUnion segment.
-inline bool
-overlap(const LiveInterval::Segment &VRSeg,
- const IntervalMap<SlotIndex, LiveInterval*>::const_iterator &LUSeg) {
- return VRSeg.start < LUSeg.stop() && LUSeg.start() < VRSeg.end;
-}
-
/// Union of live intervals that are strong candidates for coalescing into a
/// single register (either physical or virtual depending on the context). We
/// expect the constituent live intervals to be disjoint, although we may
More information about the llvm-commits
mailing list