Rename a local variable counter to Counter.
llvm-svn: 355759
This commit is contained in:
parent
3e3d6c9038
commit
98214347c4
|
@ -3277,9 +3277,9 @@ void RegisterCoalescer::mergeSubRangeInto(LiveInterval &LI,
|
||||||
bool RegisterCoalescer::isHighCostLiveInterval(LiveInterval &LI) {
|
bool RegisterCoalescer::isHighCostLiveInterval(LiveInterval &LI) {
|
||||||
if (LI.valnos.size() < LargeIntervalSizeThreshold)
|
if (LI.valnos.size() < LargeIntervalSizeThreshold)
|
||||||
return false;
|
return false;
|
||||||
auto &counter = LargeLIVisitCounter[LI.reg];
|
auto &Counter = LargeLIVisitCounter[LI.reg];
|
||||||
if (counter < LargeIntervalFreqThreshold) {
|
if (Counter < LargeIntervalFreqThreshold) {
|
||||||
counter++;
|
Counter++;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue