Files
clang-p2996/clang/test/OpenMP/atomic_compare_codegen.cpp
Shilei Tian 83837a6198 [Clang][OpenMP] Enable floating-point operation for atomic compare series
D127041 introduced the support for `fmax` and `fmin` such that we can also reprent
`atomic compare` and `atomic compare capture` with `atomicrmw` instruction. This
patch simply lifts the limitation we set before.

Depend on D127041.

Reviewed By: ABataev

Differential Revision: https://reviews.llvm.org/D127042
2022-07-06 13:05:11 -04:00

1.0 MiB