[PATCH] D112644: [AMDGPU] Fix global isel for kernels using agprs on gfx90a

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 27 11:44:38 PDT 2021


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

With Global ISel getReservedRegs() is called before function is
regbank selected for the first time. Defer caching of usesAGPRs()
in this case.


https://reviews.llvm.org/D112644

Files:
  llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.mfma.gfx90a.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112644.382736.patch
Type: text/x-patch
Size: 22675 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211027/651d47f3/attachment-0001.bin>


More information about the llvm-commits mailing list