]> granicus.if.org Git - llvm/commitdiff
LiveIntervalUnion: Remove unused function; NFC
authorMatthias Braun <matze@braunis.de>
Thu, 2 Mar 2017 00:15:06 +0000 (00:15 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 2 Mar 2017 00:15:06 +0000 (00:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296721 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/LiveIntervalUnion.h

index 1e92d7cb98e7606a8dcf603cca3f5d015d9bc39e..57e3deb038af3b029111c6e1a1beb243aa32a650 100644 (file)
@@ -34,13 +34,6 @@ template <unsigned Element> class SparseBitVector;
 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