[PATCH] D129690: [LLVM][AMDGPU] Specialize 32-bit atomic fadd instruction for generic address space
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 1 14:44:39 PDT 2022
arsenm accepted this revision.
arsenm added a comment.
This revision is now accepted and ready to land.
LGTM with nit
================
Comment at: llvm/lib/Target/AMDGPU/SIISelLowering.cpp:12872
+ // space. If it is in global address space, we emit the global atomic
+ // fadd; if it is in shared address space, we emit the lsd atomic fadd.
+ if (AS == AMDGPUAS::FLAT_ADDRESS && Ty->isFloatTy() &&
----------------
Typo lsd, s/lsd/LDS/
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129690/new/
https://reviews.llvm.org/D129690
More information about the llvm-commits
mailing list