[PATCH] D62519: AMDGPU: Don't enable all lanes with non-CSR VGPR spills

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 28 09:26:01 PDT 2019


arsenm added a comment.

In D62519#1519365 <https://reviews.llvm.org/D62519#1519365>, @rampitec wrote:

> In D62519#1519360 <https://reviews.llvm.org/D62519#1519360>, @arsenm wrote:
>
> > In D62519#1519357 <https://reviews.llvm.org/D62519#1519357>, @rampitec wrote:
> >
> > > LGTM, but I still believe it shall be reserved register instead.
> >
> >
> > I'm not sure what you mean. A reserved register wouldn't help
>
>
> It would help if we can reserve it in both caller and callee, right?


Not sure what register you mean. Reserving registers generally causes more problems that it solves. Reserving VGPRs for SGPR spills would require reserving 2 to cover all possible SGPR spills


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

https://reviews.llvm.org/D62519





More information about the llvm-commits mailing list