[PATCH] D99747: [AMDGPU][SDag] Add IMG init in AdjustInstrPostInstrSelection

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 1 10:10:17 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.

Doing this in a post-isel hook avoids the cost of running SIAddIMGInit
which is yet another pass over the MIR.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D99747

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99747.334740.patch
Type: text/x-patch
Size: 5095 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210401/4720312c/attachment.bin>


More information about the llvm-commits mailing list