[PATCH] D130677: [AMDGPU] Fix DGEMM hazard for GFX90a

Vang Thao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 29 16:47:28 PDT 2022


vangthao updated this revision to Diff 448743.
vangthao added a comment.

Hoisted MRI and hazard check function out of loop. Simplififed hazard check to only keep track if we saw a DGEMM instruction on reverse traversal path to reg def.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130677/new/

https://reviews.llvm.org/D130677

Files:
  llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
  llvm/test/CodeGen/AMDGPU/mai-hazards-gfx90a.mir
  llvm/test/CodeGen/AMDGPU/mai-hazards-gfx940.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130677.448743.patch
Type: text/x-patch
Size: 11774 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220729/b1e6d08d/attachment.bin>


More information about the llvm-commits mailing list