diff options
author | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2025-08-06 13:07:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-06 13:07:56 -0700 |
commit | 334d0be2d496af6c511d2efb183b862e7d911329 (patch) | |
tree | 9acd64dc814e258d47c17411da6bc242003af2a9 /llvm/lib | |
parent | cae7bebcaa41e4c459e973b9688215f5a57bcb56 (diff) | |
download | llvm-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.h | 2 |
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; } |