[PATCH] D147363: [AMDGPU] Add target hook to isGlobalMemoryObject

Austin Kerbow via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 31 16:39:19 PDT 2023


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

We want special handing for IGLP instructions in the scheduler but they
should still be treated like they have side effects by other passes. Add
a target hook to the ScheduleDAGInstrs DAG builder so that we have more
control over this.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D147363

Files:
  llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h
  llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
  llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp
  llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
  llvm/lib/Target/AMDGPU/GCNSchedStrategy.h
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.iglp.opt.ll
  llvm/test/CodeGen/AMDGPU/sched-barrier-pre-RA.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147363.510147.patch
Type: text/x-patch
Size: 16395 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230331/faeed5a2/attachment.bin>


More information about the llvm-commits mailing list