[PATCH] D121437: [AMDGPU] Add s_nop WaitStates between neighboring mfma

Austin Kerbow via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 10 18:48:49 PST 2022


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

In some cases padding bubbles between sequential MFMA instructions may
lead to increased inter-wave performance. Add option to request to pad
some portion of these stall cycles with s_nops.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D121437

Files:
  llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
  llvm/lib/Target/AMDGPU/GCNHazardRecognizer.h
  llvm/test/CodeGen/AMDGPU/neighboring-mfma-padding.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121437.414554.patch
Type: text/x-patch
Size: 73013 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220311/e4924b65/attachment.bin>


More information about the llvm-commits mailing list