summaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAllocPBQP.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2011-12-06 01:57:59 +0000
committerLang Hames <lhames@gmail.com>2011-12-06 01:57:59 +0000
commitbae56b4c216ac8b4573fb90e7d1a63acace6f53d (patch)
tree8479bdd5bbf73a039b9b3f8af8f95f41471b1fc4 /lib/CodeGen/RegAllocPBQP.cpp
parent80caf9c2737d4f1bf5bae3a283fe9d538f5e2970 (diff)
downloadllvm-bae56b4c216ac8b4573fb90e7d1a63acace6f53d.tar.gz
llvm-bae56b4c216ac8b4573fb90e7d1a63acace6f53d.tar.bz2
llvm-bae56b4c216ac8b4573fb90e7d1a63acace6f53d.tar.xz
Kill off the LoopSplitter. It's not being used or maintained.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145897 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocPBQP.cpp')
-rw-r--r--lib/CodeGen/RegAllocPBQP.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/CodeGen/RegAllocPBQP.cpp b/lib/CodeGen/RegAllocPBQP.cpp
index db35ce0615..a053cccc9e 100644
--- a/lib/CodeGen/RegAllocPBQP.cpp
+++ b/lib/CodeGen/RegAllocPBQP.cpp
@@ -34,7 +34,6 @@
#include "LiveRangeEdit.h"
#include "RenderMachineFunction.h"
#include "Spiller.h"
-#include "Splitter.h"
#include "VirtRegMap.h"
#include "RegisterCoalescer.h"
#include "llvm/Analysis/AliasAnalysis.h"
@@ -70,11 +69,6 @@ pbqpCoalescing("pbqp-coalescing",
cl::desc("Attempt coalescing during PBQP register allocation."),
cl::init(false), cl::Hidden);
-static cl::opt<bool>
-pbqpPreSplitting("pbqp-pre-splitting",
- cl::desc("Pre-split before PBQP register allocation."),
- cl::init(false), cl::Hidden);
-
namespace {
///
@@ -95,7 +89,6 @@ public:
initializeCalculateSpillWeightsPass(*PassRegistry::getPassRegistry());
initializeLiveStacksPass(*PassRegistry::getPassRegistry());
initializeMachineLoopInfoPass(*PassRegistry::getPassRegistry());
- initializeLoopSplitterPass(*PassRegistry::getPassRegistry());
initializeVirtRegMapPass(*PassRegistry::getPassRegistry());
initializeRenderMachineFunctionPass(*PassRegistry::getPassRegistry());
}
@@ -463,8 +456,6 @@ void RegAllocPBQP::getAnalysisUsage(AnalysisUsage &au) const {
au.addPreserved<MachineDominatorTree>();
au.addRequired<MachineLoopInfo>();
au.addPreserved<MachineLoopInfo>();
- if (pbqpPreSplitting)
- au.addRequired<LoopSplitter>();
au.addRequired<VirtRegMap>();
au.addRequired<RenderMachineFunction>();
MachineFunctionPass::getAnalysisUsage(au);