[PATCH] D152649: [AMDGPU] Enable Atomic Optimizer and Default to Iterative Scan Strategy.

Pravin Jagtap via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 11 07:47:42 PDT 2023


pravinjagtap created this revision.
pravinjagtap added reviewers: foad, arsenm, brian.
Herald added subscribers: StephenFan, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
pravinjagtap requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

The D147408 <https://reviews.llvm.org/D147408> implemented new Iterative approach for scan computations
and  added new flag `amdgpu-atomic-optimizer-strategy` which is
defaulted to DPP.

      

The changeset https://github.com/GPUOpen-Drivers/llpc/pull/2506
adapts to the new changes in LLPC.

      

This patch enables atomic optimizer pass and selects Iterative
approach for scan computations by default for compute pipeline.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D152649

Files:
  llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/mubuf-global.ll
  llvm/test/CodeGen/AMDGPU/atomic_optimizations_pixelshader.ll
  llvm/test/CodeGen/AMDGPU/buffer-intrinsics-mmo-offsets.ll
  llvm/test/CodeGen/AMDGPU/dag-divergence-atomic.ll
  llvm/test/CodeGen/AMDGPU/gds-allocation.ll
  llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
  llvm/test/CodeGen/AMDGPU/noclobber-barrier.ll
  llvm/test/CodeGen/AMDGPU/should-not-hoist-set-inactive.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152649.530300.patch
Type: text/x-patch
Size: 51856 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230611/083db7e8/attachment.bin>


More information about the llvm-commits mailing list