diff options
author | Arnaud A. de Grandmaison <arnaud.adegm@gmail.com> | 2013-11-08 17:56:29 +0000 |
---|---|---|
committer | Arnaud A. de Grandmaison <arnaud.adegm@gmail.com> | 2013-11-08 17:56:29 +0000 |
commit | 663fcde3d33e44a9b543a692ad29873bd1ddc403 (patch) | |
tree | a797e4e20a5ae9fb94045f27c1fd939a0717a2b9 /lib/CodeGen/CodeGen.cpp | |
parent | fffdcacff2de0c1eaf4dbd2884384d71d024776d (diff) | |
download | external_llvm-663fcde3d33e44a9b543a692ad29873bd1ddc403.zip external_llvm-663fcde3d33e44a9b543a692ad29873bd1ddc403.tar.gz external_llvm-663fcde3d33e44a9b543a692ad29873bd1ddc403.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194269 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGen.cpp')
-rw-r--r-- | lib/CodeGen/CodeGen.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGen.cpp b/lib/CodeGen/CodeGen.cpp index 920a48e..7430c53 100644 --- a/lib/CodeGen/CodeGen.cpp +++ b/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); |