[PATCH] D98040: [AMDGPU][GlobalISel] Improve constant offset lookup for llvm.amdgcn.s.buffer

Mirko Brkusanin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 5 06:09:41 PST 2021


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

Looking up constant offset for this intrinsic is done during RegBankSelect
so the constant might find itself behind a copy from sgpr to vgpr.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D98040

Files:
  llvm/lib/Target/AMDGPU/AMDGPUGlobalISelUtils.cpp
  llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/merge-s-buffer-loads.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98040.328496.patch
Type: text/x-patch
Size: 5755 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210305/6040cc3b/attachment.bin>


More information about the llvm-commits mailing list