[PATCH] D61564: [AMDGPU] Check MI bundles for hazards

Austin Kerbow via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 5 01:57:16 PDT 2019


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

GCNHazardRecognizer fails to identify hazards that are in and around bundles. This patch allows the hazard recognizer to consider bundled instructions in both scheduler and hazard recognizer mode. We ignore “bundledness” for the purpose of detecting hazards and examine the instructions individually.

1. Enter a commit message. #
2. Changes:


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D61564

Files:
  llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
  llvm/lib/Target/AMDGPU/GCNHazardRecognizer.h
  llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
  llvm/lib/Target/AMDGPU/SIInstrInfo.h
  llvm/test/CodeGen/AMDGPU/hazard-bundle.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61564.198170.patch
Type: text/x-patch
Size: 9248 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190505/1ce880ee/attachment.bin>


More information about the llvm-commits mailing list