[llvm] [AMDGPU] Allocate i1 argument to SGPRs (PR #72461)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 27 22:54:15 PST 2024
arsenm wrote:
> @arsenm In one of your comments, you mentioned promoting "inreg i1" before it's being allocated. This is done in the latest commit. Note that, on a wavefront64 GPU, an "inreg i1" argument would be allcoated to a 32b sgpr while an ordinary i1 arg would be allocated to a 64b sgpr. Is this what you had in mind?
Yes. That is i1 inreg is not interpreted as a boolean, i1 <no inreg> is
https://github.com/llvm/llvm-project/pull/72461
More information about the llvm-commits
mailing list