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 | ea3ac1612c8e14076af65cbdd00efa79f93a188d (patch) | |
tree | 3b4bc28e33c14fd1fb1ef5eb8e7089c33a336e6f /llvm/lib/CodeGen/RegAllocBasic.cpp | |
parent | 26386be1837ee7328827d6363071ce91d28d9010 (diff) | |
download | bcm5719-llvm-ea3ac1612c8e14076af65cbdd00efa79f93a188d.tar.gz bcm5719-llvm-ea3ac1612c8e14076af65cbdd00efa79f93a188d.zip |
CalcSpillWeights: give a better describing name to calculateSpillWeights
Besides, this relates it more obviously to the VirtRegAuxInfo::calculateSpillWeightAndHint.
No functionnal change.
llvm-svn: 194404
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocBasic.cpp')
-rw-r--r-- | llvm/lib/CodeGen/RegAllocBasic.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/RegAllocBasic.cpp b/llvm/lib/CodeGen/RegAllocBasic.cpp index 6926a8915a0..6768e45c6cd 100644 --- a/llvm/lib/CodeGen/RegAllocBasic.cpp +++ b/llvm/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)); |