[PATCH] D126389: [AMDGPU] Improve codegen of extractelement/insertelement in some cases

Julien Pagès via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 31 15:54:22 PDT 2022


jpages updated this revision to Diff 433214.
jpages added a comment.

Rebased, keep the current version for GFX9 and only apply this patch on architectures with movrel.

Thanks for the comments!


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

https://reviews.llvm.org/D126389

Files:
  llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/lib/Target/AMDGPU/SIISelLowering.h
  llvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.i16.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.ll
  llvm/test/CodeGen/AMDGPU/extract_vector_dynelt.ll
  llvm/test/CodeGen/AMDGPU/insert_vector_dynelt.ll
  llvm/test/CodeGen/AMDGPU/insert_vector_elt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126389.433214.patch
Type: text/x-patch
Size: 80382 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220531/8e711ebc/attachment.bin>


More information about the llvm-commits mailing list