[PATCH] D102342: [SPARC] Fix register reuse in leaf function remapping step

LemonBoy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 13 03:08:28 PST 2021


LemonBoy added a comment.

> But this approach is fine be me, but the check should be in isLeafProc().

The section H.12 of the SPARC Architecture manual outlines the whole register remapping process that requires the re-allocation of `%oN` to free `%gN` registers if needed, I didn't implement the whole thing because of time/interest constraints but as it's written it should be relatively easy to add the missing steps.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102342



More information about the llvm-commits mailing list