From 1174171d1f09234c963900905fef0844af3c55c1 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Thu, 2 Mar 2017 00:15:06 +0000 Subject: [PATCH] LiveIntervalUnion: Remove unused function; NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296721 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/LiveIntervalUnion.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/include/llvm/CodeGen/LiveIntervalUnion.h b/include/llvm/CodeGen/LiveIntervalUnion.h index 1e92d7cb98e..57e3deb038a 100644 --- a/include/llvm/CodeGen/LiveIntervalUnion.h +++ b/include/llvm/CodeGen/LiveIntervalUnion.h @@ -34,13 +34,6 @@ template 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::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 -- 2.11.0