[PATCH] D119436: RFC: RegAlloc: Avoid repeated calls to freezeReservedRegs

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 10 06:53:34 PST 2022


foad added a comment.

> and then again in SILowerSGPRSpills

OK but I'm less concerned about that because it only happens if there are some spills, and in any function that's large enough to have spills the fixed cost of getReservedRegs will be a lower proportion of the overall compile time.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119436/new/

https://reviews.llvm.org/D119436



More information about the llvm-commits mailing list