[llvm] [AMDGPU] Support double type in atomic optimizer. (PR #84307)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 7 05:10:43 PST 2024
================
@@ -209,8 +209,9 @@ void AMDGPUAtomicOptimizerImpl::visitAtomicRMWInst(AtomicRMWInst &I) {
break;
}
- // Only 32-bit floating point atomic ops are supported.
- if (AtomicRMWInst::isFPOperation(Op) && !I.getType()->isFloatTy()) {
+ // Only 32 and 64 bit floating point atomic ops are supported.
----------------
arsenm wrote:
Should really handle f16 too, in a separate patch
https://github.com/llvm/llvm-project/pull/84307
More information about the llvm-commits
mailing list