[PATCH] D64596: [AMDGPU] Skip calculating callee saved registers for entry function.

Michael Liao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 11 14:26:46 PDT 2019


hliao added a comment.

In D64596#1581524 <https://reviews.llvm.org/D64596#1581524>, @arsenm wrote:

> What is this supposed to solve?


the issue happens when we need to spill FP when all SGRPs used.  However, register scavenger is only allocated when necessary for entry function. The newly created frame object when we determine whether FP needs to be spilled breaks later process as RS is not allocated at the beginning.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D64596





More information about the llvm-commits mailing list