[PATCH] D32201: [RALLOC] Increase CSR cost in RegAllocGreedy to favour splitting over CSR first use

Eric Christopher via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 4 21:46:25 PDT 2017


echristo added a comment.

In general I'm a fan of the change, however, it feels like the heuristic value is somewhat unintelligable on scan. I.e. what's the difference between 1 << 13 and 5 (or any other value)? :)

Is there something we could do to make this easier or more friendly to tune?

Thanks!

-eric


Repository:
  rL LLVM

https://reviews.llvm.org/D32201





More information about the llvm-commits mailing list