[all-commits] [llvm/llvm-project] 83837a: [Clang][OpenMP] Enable floating-point operation fo...
Shilei Tian via All-commits
all-commits at lists.llvm.org
Wed Jul 6 10:05:24 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 83837a61981c760d01d0ffbfbadb3293eb74985b
https://github.com/llvm/llvm-project/commit/83837a61981c760d01d0ffbfbadb3293eb74985b
Author: Shilei Tian <i at tianshilei.me>
Date: 2022-07-06 (Wed, 06 Jul 2022)
Changed paths:
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M clang/lib/Sema/SemaOpenMP.cpp
M clang/test/OpenMP/atomic_compare_codegen.cpp
M clang/test/OpenMP/atomic_messages.c
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list