[PATCH] D83988: AMDGPU/GlobalISel: Start trying to handle AGPR bank

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 16 14:51:23 PDT 2020


arsenm created this revision.
arsenm added reviewers: kerbowa, rampitec, madhur13490.
Herald added subscribers: hiraditya, t-tye, tpr, dstuttard, rovka, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.

Try to use AGPR banks for the various merge/unmerge type
operations. Previously these would introduce copies to VGPR.


https://reviews.llvm.org/D83988

Files:
  llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
  llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.h
  llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-build-vector.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-concat-vector.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-extract.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-insert.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-merge-values.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-phi.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-unmerge-values.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83988.278607.patch
Type: text/x-patch
Size: 38142 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200716/571e596f/attachment-0001.bin>


More information about the llvm-commits mailing list