[PATCH] D62058: [AMDGPU] gfx1010 Avoid SMEM WAR hazard for some s_waitcnt values

Carl Ritson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 17 02:55:08 PDT 2019


critson created this revision.
critson added reviewers: nhaehnle, rampitec.
Herald added subscribers: llvm-commits, t-tye, tpr, dstuttard, yaxunl, wdng, jvesely, kzhuravl, arsenm.
Herald added a project: LLVM.

Avoid introducing hazard mitigation when lgkmcnt is reduced to 0.
Clarify code comments to explain assumptions made for this hazard
mitigation.  Expand and correct test cases to cover variants of
s_waitcnt.


Repository:
  rL LLVM

https://reviews.llvm.org/D62058

Files:
  lib/Target/AMDGPU/GCNHazardRecognizer.cpp
  test/CodeGen/AMDGPU/smem-war-hazard.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62058.200006.patch
Type: text/x-patch
Size: 7014 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190517/9f4a6676/attachment.bin>


More information about the llvm-commits mailing list