aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib
diff options
context:
space:
mode:
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2025-08-06 13:07:56 -0700
committerGitHub <noreply@github.com>2025-08-06 13:07:56 -0700
commit334d0be2d496af6c511d2efb183b862e7d911329 (patch)
tree9acd64dc814e258d47c17411da6bc242003af2a9 /llvm/lib
parentcae7bebcaa41e4c459e973b9688215f5a57bcb56 (diff)
downloadllvm-334d0be2d496af6c511d2efb183b862e7d911329.zip
llvm-334d0be2d496af6c511d2efb183b862e7d911329.tar.gz
llvm-334d0be2d496af6c511d2efb183b862e7d911329.tar.bz2
[AMDGPU] Support 64-bit LDS atomic fadd on gfx1250 (#152368)
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/AMDGPU/GCNSubtarget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AMDGPU/GCNSubtarget.h b/llvm/lib/Target/AMDGPU/GCNSubtarget.h
index 5530886..9114f24 100644
--- a/llvm/lib/Target/AMDGPU/GCNSubtarget.h
+++ b/llvm/lib/Target/AMDGPU/GCNSubtarget.h
@@ -1081,7 +1081,7 @@ public:
}
bool hasLDSFPAtomicAddF32() const { return GFX8Insts; }
- bool hasLDSFPAtomicAddF64() const { return GFX90AInsts; }
+ bool hasLDSFPAtomicAddF64() const { return GFX90AInsts || GFX1250Insts; }
/// \returns true if the subtarget has the v_permlanex16_b32 instruction.
bool hasPermLaneX16() const { return getGeneration() >= GFX10; }