[PATCH] D49288: [AMDGPU] run post-RA hazard recognizer pass after memory legalizer, waitcnt passes

Mark Searles via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 13 04:51:42 PDT 2018


msearles created this revision.
msearles added reviewers: rampitec, t-tye.
msearles added a project: AMDGPU.
Herald added subscribers: tpr, dstuttard, yaxunl, nhaehnle, wdng, kzhuravl, arsenm.

Memory legalizer and waitcnt passes can perturb the instructions, which means that the post-RA hazard recognizer pass should run after them. Otherwise, one of those passes may invalidate the work done by the hazard recognizer.


https://reviews.llvm.org/D49288

Files:
  lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  lib/Target/AMDGPU/SIMemoryLegalizer.cpp
  test/CodeGen/AMDGPU/llvm.amdgcn.mov.dpp.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.update.dpp.ll
  test/CodeGen/AMDGPU/memory_clause.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49288.155348.patch
Type: text/x-patch
Size: 4382 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180713/0f6af679/attachment.bin>


More information about the llvm-commits mailing list