summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorArnaud A. de Grandmaison <arnaud.adegm@gmail.com>2013-11-08 17:56:29 +0000
committerArnaud A. de Grandmaison <arnaud.adegm@gmail.com>2013-11-08 17:56:29 +0000
commited812f6590e9133e9ad072118ab7cdb5f8aeb3a3 (patch)
tree1ff5bdda515a73b87ac53341f081b5450595f376 /llvm/lib/CodeGen/CodeGen.cpp
parent98fb6e1b9f1fa88dddfc7fb1278302bb760ea050 (diff)
downloadbcm5719-llvm-ed812f6590e9133e9ad072118ab7cdb5f8aeb3a3.tar.gz
bcm5719-llvm-ed812f6590e9133e9ad072118ab7cdb5f8aeb3a3.zip
CalculateSpillWeights does not need to be a pass
Based on discussions with Lang Hames and Jakob Stoklund Olesen at the hacker's lab, and in the light of upcoming work on the PBQP register allocator, it was though that CalcSpillWeights does not need to be a pass. This change will enable to customize / tune the spill weight computation depending on the allocator. Update the documentation style while there. No functionnal change. llvm-svn: 194269
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
-rw-r--r--llvm/lib/CodeGen/CodeGen.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGen.cpp b/llvm/lib/CodeGen/CodeGen.cpp
index 920a48e1e8d..7430c53b8da 100644
--- a/llvm/lib/CodeGen/CodeGen.cpp
+++ b/llvm/lib/CodeGen/CodeGen.cpp
@@ -22,7 +22,6 @@ using namespace llvm;
void llvm::initializeCodeGen(PassRegistry &Registry) {
initializeBasicTTIPass(Registry);
initializeBranchFolderPassPass(Registry);
- initializeCalculateSpillWeightsPass(Registry);
initializeDeadMachineInstructionElimPass(Registry);
initializeEarlyIfConverterPass(Registry);
initializeExpandPostRAPass(Registry);
OpenPOWER on IntegriCloud