[PATCH] D128664: AMDGPU: Add gfx11 feature to force initializing 16 input SGPRs

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 27 09:35:07 PDT 2022


arsenm created this revision.
arsenm added reviewers: AMDGPU, kzhuravl, Joe_Nash, rampitec.
Herald added subscribers: kosarev, jsilvanus, foad, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

The total user+system SGPR count needs to be padded out to 16 if fewer
inputs are enabled.


https://reviews.llvm.org/D128664

Files:
  llvm/lib/Target/AMDGPU/AMDGPU.td
  llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
  llvm/lib/Target/AMDGPU/GCNSubtarget.h
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
  llvm/test/CodeGen/AMDGPU/gfx11-user-sgpr-init16-bug.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128664.440269.patch
Type: text/x-patch
Size: 12348 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220627/e5b8a313/attachment.bin>


More information about the llvm-commits mailing list