[PATCH] D59143: [RegisterCoalescer] Limit the number of joins for large live interval with many valnos.
Chandler Carruth via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 8 13:18:18 PST 2019
chandlerc added inline comments.
================
Comment at: llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp:3280-3281
+ return false;
+ if (LargeLIVisitCounter[LI.reg] < LargeIntervalFreqThreshold) {
+ LargeLIVisitCounter[LI.reg]++;
+ return false;
----------------
This does the lookup in the hashtable twice, instead bind it to a reference?
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59143/new/
https://reviews.llvm.org/D59143
More information about the llvm-commits
mailing list