Files
clang-p2996/llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
Jay Foad 43b9888214 [AMDGPU] Use nan as the identity for atomicrmw fmax/fmin (#97411)
atomicrmw fmax/fmin perform the same operation as llvm.maxnum/minnum
which return the other operand if one operand is nan. This means that,
in the presence of nan arguments, +/- inf is not an identity for these
operations but nan is (at least if you don't care about nan payloads).
2024-07-02 15:45:36 +01:00

38 KiB