[PATCH] D82192: [AMDGPU] Move SIWholeQuadMode after MachineScheduler

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 19 08:05:24 PDT 2020


foad created this revision.
Herald added subscribers: llvm-commits, kerbowa, jfb, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl, arsenm.
Herald added a project: LLVM.
foad added a parent revision: D82190: [AMDGPU] Update more live intervals in SIWholeQuadMode.

This allows the scheduler to do a better job because it doesn't see the
exec mask manipulation instructions insterted by SIWholeQuadMode which
act as scheduling barriers. In particular, it can do a better job of
grouping image instructions with implicit derivatives.

WORK IN PROGRESS: some tests are still failing, generated code may not
be correct.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82192

Files:
  llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.gather4.a16.dim.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.gather4.dim.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.gather4.o.dim.ll
  llvm/test/CodeGen/AMDGPU/atomic_optimizations_local_pointer.ll
  llvm/test/CodeGen/AMDGPU/atomic_optimizations_pixelshader.ll
  llvm/test/CodeGen/AMDGPU/else.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.gather4.a16.dim.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.a16.dim.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.d16.dim.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.dim.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ps.live.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.softwqm.ll
  llvm/test/CodeGen/AMDGPU/wqm.ll
  llvm/test/CodeGen/AMDGPU/wwm-reserved.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82192.272074.patch
Type: text/x-patch
Size: 319195 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200619/047d5ce7/attachment-0001.bin>


More information about the llvm-commits mailing list