diff options
author | Arnaud A. de Grandmaison <arnaud.adegm@gmail.com> | 2013-11-11 19:04:45 +0000 |
---|---|---|
committer | Arnaud A. de Grandmaison <arnaud.adegm@gmail.com> | 2013-11-11 19:04:45 +0000 |
commit | 095f994ba63994e8eb4b77127f9b872429496dba (patch) | |
tree | 3506b33bd89e6b670884c4bbdccda73f42c4f497 /lib/CodeGen/RegAllocBasic.cpp | |
parent | 953398916cfd6ee035f6f4bd2dde25c21cdde1fe (diff) | |
download | external_llvm-095f994ba63994e8eb4b77127f9b872429496dba.tar.gz external_llvm-095f994ba63994e8eb4b77127f9b872429496dba.tar.bz2 external_llvm-095f994ba63994e8eb4b77127f9b872429496dba.zip |
CalcSpillWeights: give a better describing name to calculateSpillWeights
Besides, this relates it more obviously to the VirtRegAuxInfo::calculateSpillWeightAndHint.
No functionnal change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194404 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocBasic.cpp')
-rw-r--r-- | lib/CodeGen/RegAllocBasic.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/RegAllocBasic.cpp b/lib/CodeGen/RegAllocBasic.cpp index 6926a8915a..6768e45c6c 100644 --- a/lib/CodeGen/RegAllocBasic.cpp +++ b/lib/CodeGen/RegAllocBasic.cpp @@ -278,9 +278,9 @@ bool RABasic::runOnMachineFunction(MachineFunction &mf) { getAnalysis<LiveIntervals>(), getAnalysis<LiveRegMatrix>()); - calculateSpillWeights(*LIS, *MF, - getAnalysis<MachineLoopInfo>(), - getAnalysis<MachineBlockFrequencyInfo>()); + calculateSpillWeightsAndHints(*LIS, *MF, + getAnalysis<MachineLoopInfo>(), + getAnalysis<MachineBlockFrequencyInfo>()); SpillerInstance.reset(createInlineSpiller(*this, *MF, *VRM)); |