[PATCH] D131560: AMDGPU: Improve atomicrmw fadd selection
    Matt Arsenault via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Sep 22 09:35:47 PDT 2022
    
    
  
arsenm accepted this revision.
arsenm added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp:1344
     Atomic.legalFor({{S32, GlobalPtr}});
+  if (ST.hasGFX940Insts() || ST.getGeneration() >= AMDGPUSubtarget::GFX11)
+    Atomic.legalFor({{S32, FlatPtr}});
----------------
Probably should factor this into a feature test
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131560/new/
https://reviews.llvm.org/D131560
    
    
More information about the llvm-commits
mailing list