summaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAllocGreedy.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-04-13 15:00:11 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-04-13 15:00:11 +0000
commitfd1cced726469e83915f428877a521ba737d35f3 (patch)
tree27ef47eb749345e536db82982e1bef7cd4ec4cda /lib/CodeGen/RegAllocGreedy.cpp
parentcb53632869dafa01d514378c810549a1e9e47aee (diff)
downloadllvm-fd1cced726469e83915f428877a521ba737d35f3.tar.gz
llvm-fd1cced726469e83915f428877a521ba737d35f3.tar.bz2
llvm-fd1cced726469e83915f428877a521ba737d35f3.tar.xz
Stop using dead function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129442 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocGreedy.cpp')
-rw-r--r--lib/CodeGen/RegAllocGreedy.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/CodeGen/RegAllocGreedy.cpp b/lib/CodeGen/RegAllocGreedy.cpp
index 0e4e6eb30b..d196119711 100644
--- a/lib/CodeGen/RegAllocGreedy.cpp
+++ b/lib/CodeGen/RegAllocGreedy.cpp
@@ -843,8 +843,6 @@ void RAGreedy::splitAroundRegion(LiveInterval &VirtReg,
SE->enterIntvAtEnd(*MBB);
}
- SE->closeIntv();
-
// FIXME: Should we be more aggressive about splitting the stack region into
// per-block segments? The current approach allows the stack region to
// separate into connected components. Some components may be allocatable.
@@ -1171,7 +1169,6 @@ unsigned RAGreedy::tryLocalSplit(LiveInterval &VirtReg, AllocationOrder &Order,
SlotIndex SegStart = SE->enterIntvBefore(Uses[BestBefore]);
SlotIndex SegStop = SE->leaveIntvAfter(Uses[BestAfter]);
SE->useIntv(SegStart, SegStop);
- SE->closeIntv();
SE->finish();
setStage(NewVRegs.begin(), NewVRegs.end(), RS_Local);
++NumLocalSplits;