[PATCH] D147158: [AMDGPU] Do not reserve 16-bit registers

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 29 13:03:14 PDT 2023


rampitec added a comment.

In D147158#4231755 <https://reviews.llvm.org/D147158#4231755>, @Joe_Nash wrote:

> In D147158#4231480 <https://reviews.llvm.org/D147158#4231480>, @rampitec wrote:
>
>> I am not so sure about SGPRs. I believe it is legal to use SGPR halves.
>
> It appears that this patch does not change anything about the legality of allocating registers in class SGPR_LO16.

But if we will allow SGPRs this code will be needed on older targets again.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147158



More information about the llvm-commits mailing list