[PATCH] D127994: [AMDGPU] Expose CLI controls for IGroup ordering

Jeffrey Byrnes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 16 11:24:57 PDT 2022


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

This patch implements the necessary framework to allow users to specify custom ordering in the IGroupLP mutation. Specifically, it implements a parser and extracts some common IGroup data to a table, to force agreement between the producer and consumer of the IGroupLP ordering. In the current iteration, users can only specify an IGroup once (including via subgroup -- e.g. can't have VMEMWrite and VMEM groups). The user is expected to provide a simple comma separated string of IGroups, with optional sizes occuring after a specified IGroup.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D127994

Files:
  llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp
  llvm/test/CodeGen/AMDGPU/igrouplp-dag-mutation.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127994.437626.patch
Type: text/x-patch
Size: 43729 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220616/2246da98/attachment-0001.bin>


More information about the llvm-commits mailing list