[PATCH] D99953: [AMDGPU][SDag] Add IMG init also for image_gather4 instructions

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 6 06:36:27 PDT 2021


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

This fixes an oversight in D99747 <https://reviews.llvm.org/D99747> which moved the IMG init code from
SIAddIMGInit to AdjustInstrPostInstrSelection, but did not set the
hasPostISelHook flag on gather4 instructions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D99953

Files:
  llvm/lib/Target/AMDGPU/MIMGInstructions.td
  llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.gather4.dim.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.gather4.dim.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99953.335498.patch
Type: text/x-patch
Size: 6175 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210406/57a7dbe1/attachment.bin>


More information about the llvm-commits mailing list