summaryrefslogtreecommitdiff
path: root/lib/Target/Hexagon/HexagonMachineScheduler.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2013-09-11 00:41:02 +0000
committerEli Friedman <eli.friedman@gmail.com>2013-09-11 00:41:02 +0000
commit3b389cb74e13a5631c9650115aafd2af4580ce83 (patch)
tree1eeb7f1e554b9f21971e2fab3bb00191dce710b8 /lib/Target/Hexagon/HexagonMachineScheduler.cpp
parent7400a858be88ed6fbffb46dcd48b6c9ad6c85a2b (diff)
downloadllvm-3b389cb74e13a5631c9650115aafd2af4580ce83.tar.gz
llvm-3b389cb74e13a5631c9650115aafd2af4580ce83.tar.bz2
llvm-3b389cb74e13a5631c9650115aafd2af4580ce83.tar.xz
Rename variables for consistency.
No functional change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190466 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Hexagon/HexagonMachineScheduler.cpp')
-rw-r--r--lib/Target/Hexagon/HexagonMachineScheduler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/Hexagon/HexagonMachineScheduler.cpp b/lib/Target/Hexagon/HexagonMachineScheduler.cpp
index da44d1064a..c94f081ab1 100644
--- a/lib/Target/Hexagon/HexagonMachineScheduler.cpp
+++ b/lib/Target/Hexagon/HexagonMachineScheduler.cpp
@@ -457,7 +457,7 @@ static SUnit *getSingleUnscheduledSucc(SUnit *SU) {
// Constants used to denote relative importance of
// heuristic components for cost computation.
static const unsigned PriorityOne = 200;
-static const unsigned PriorityThree = 50;
+static const unsigned PriorityTwo = 50;
static const unsigned ScaleTwo = 10;
static const unsigned FactorOne = 2;
@@ -515,8 +515,8 @@ int ConvergingVLIWScheduler::SchedulingCost(ReadyQueue &Q, SUnit *SU,
ResCount += (NumNodesBlocking * ScaleTwo);
// Factor in reg pressure as a heuristic.
- ResCount -= (Delta.Excess.getUnitInc()*PriorityThree);
- ResCount -= (Delta.CriticalMax.getUnitInc()*PriorityThree);
+ ResCount -= (Delta.Excess.getUnitInc()*PriorityTwo);
+ ResCount -= (Delta.CriticalMax.getUnitInc()*PriorityTwo);
DEBUG(if (verbose) dbgs() << " Total(" << ResCount << ")");