[PATCH] D97767: [AMDGPU][GlobalISel] Add support for global atomicrmw fadd
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 2 06:21:32 PST 2021
arsenm added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp:1299
+ if (ST.hasAtomicFaddInsts())
+ Atomic.legalFor({{S32, GlobalPtr}});
----------------
Isn't this also conditional on the denorm mode or the unsafe atomic attribute? That would need to be custom and verify those are consistent
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97767/new/
https://reviews.llvm.org/D97767
More information about the llvm-commits
mailing list