[PATCH] D106354: [AMDGPU] NFC refactoring in isel for buffer access intrinsics

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 20 04:10:28 PDT 2021


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

Rename getBufferOffsetForMMO to updateBufferMMO and pass in the MMO to
be updated, in preparation for the bug fix in D106284 <https://reviews.llvm.org/D106284>.

Call updateBufferMMO consistently for all buffer intrinsics, even the
ones that use setBufferOffsets to decompose a combined offset
expression.

Add a getIdxEn helper function.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D106354

Files:
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/lib/Target/AMDGPU/SIISelLowering.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106354.360081.patch
Type: text/x-patch
Size: 14430 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210720/b24c906f/attachment.bin>


More information about the llvm-commits mailing list