summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAllocGreedy.cpp
diff options
context:
space:
mode:
authorArnaud A. de Grandmaison <arnaud.adegm@gmail.com>2013-11-11 19:04:45 +0000
committerArnaud A. de Grandmaison <arnaud.adegm@gmail.com>2013-11-11 19:04:45 +0000
commitea3ac1612c8e14076af65cbdd00efa79f93a188d (patch)
tree3b4bc28e33c14fd1fb1ef5eb8e7089c33a336e6f /llvm/lib/CodeGen/RegAllocGreedy.cpp
parent26386be1837ee7328827d6363071ce91d28d9010 (diff)
downloadbcm5719-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/RegAllocGreedy.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAllocGreedy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocGreedy.cpp b/llvm/lib/CodeGen/RegAllocGreedy.cpp
index 5db9502d101..95b30a4823b 100644
--- a/llvm/lib/CodeGen/RegAllocGreedy.cpp
+++ b/llvm/lib/CodeGen/RegAllocGreedy.cpp
@@ -1838,7 +1838,7 @@ bool RAGreedy::runOnMachineFunction(MachineFunction &mf) {
SpillPlacer = &getAnalysis<SpillPlacement>();
DebugVars = &getAnalysis<LiveDebugVariables>();
- calculateSpillWeights(*LIS, mf, *Loops, *MBFI);
+ calculateSpillWeightsAndHints(*LIS, mf, *Loops, *MBFI);
DEBUG(LIS->dump());
OpenPOWER on IntegriCloud