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

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 10 06:48:14 PST 2022


arsenm added a comment.

freezeReservedRegs is actually called 3-5 times. It's first called in finalizeLowering, again in the allocators, and then again in SILowerSGPRSpills.

We may be able to get away without re-freezing the SGPR spills if we make them all live throughout every block


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