[PATCH] D134151: [AMDGPU][GFX11] Mitigate VALU mask write hazard

Carl Ritson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 18 17:26:02 PDT 2022


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

VALU use of an SGPR (pair) as mask followed by SALU write to the
same SGPR can cause incorrect execution of subsequent SALU reads
of the SGPR.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D134151

Files:
  llvm/lib/Target/AMDGPU/AMDGPU.td
  llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
  llvm/lib/Target/AMDGPU/GCNHazardRecognizer.h
  llvm/lib/Target/AMDGPU/GCNSubtarget.h
  llvm/test/CodeGen/AMDGPU/valu-mask-write-hazard.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134151.461106.patch
Type: text/x-patch
Size: 20813 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220919/6aa94c93/attachment.bin>


More information about the llvm-commits mailing list