From: Wei Mi Date: Fri, 8 Mar 2019 23:32:07 +0000 (+0000) Subject: Rename a local variable counter to Counter. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2473ad9be81f62834350baebac653a50f7fb7d20;p=llvm Rename a local variable counter to Counter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355759 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/RegisterCoalescer.cpp b/lib/CodeGen/RegisterCoalescer.cpp index 237cf184d8b..4f1077787c9 100644 --- a/lib/CodeGen/RegisterCoalescer.cpp +++ b/lib/CodeGen/RegisterCoalescer.cpp @@ -3277,9 +3277,9 @@ void RegisterCoalescer::mergeSubRangeInto(LiveInterval &LI, bool RegisterCoalescer::isHighCostLiveInterval(LiveInterval &LI) { if (LI.valnos.size() < LargeIntervalSizeThreshold) return false; - auto &counter = LargeLIVisitCounter[LI.reg]; - if (counter < LargeIntervalFreqThreshold) { - counter++; + auto &Counter = LargeLIVisitCounter[LI.reg]; + if (Counter < LargeIntervalFreqThreshold) { + Counter++; return false; } return true;