summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorArnaud A. de Grandmaison <arnaud.adegm@gmail.com>2013-11-10 17:46:31 +0000
committerArnaud A. de Grandmaison <arnaud.adegm@gmail.com>2013-11-10 17:46:31 +0000
commit760c1e0b0ac9066b778787a6c58e258bcebf5ddc (patch)
treef2c85d74fa164f8bc6e22f4655498cb45a8a9f38 /llvm/lib/CodeGen/CodeGen.cpp
parenteed8061b9fdebaefa4531035de6c544e1a031f0a (diff)
downloadbcm5719-llvm-760c1e0b0ac9066b778787a6c58e258bcebf5ddc.tar.gz
bcm5719-llvm-760c1e0b0ac9066b778787a6c58e258bcebf5ddc.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: 194356
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