diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2013-09-11 00:41:02 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2013-09-11 00:41:02 +0000 |
| commit | 8f06d55697eeea984466fba3c6b439fdb70c462d (patch) | |
| tree | a4ecb8960a05af9749443c6e7213b458b6cb8c13 /llvm/lib/Target | |
| parent | b67ef22556815b357e1d06b3556c39c1161b2635 (diff) | |
| download | bcm5719-llvm-8f06d55697eeea984466fba3c6b439fdb70c462d.tar.gz bcm5719-llvm-8f06d55697eeea984466fba3c6b439fdb70c462d.zip | |
Rename variables for consistency.
No functional change.
llvm-svn: 190466
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp b/llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp index da44d1064aa..c94f081ab13 100644 --- a/llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp +++ b/llvm/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 << ")"); |

