[PATCH] D124724: [Clang][OpenMP] Add the support for floating-point variables for specific atomic clauses
Shilei Tian via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 2 15:36:40 PDT 2022
tianshilei1992 updated this revision to Diff 426532.
tianshilei1992 added a comment.
always use `UIToFP` because that is the only case that `UpdateVal` is a `ConstantInt`, where we created the constant integer for `++` or `--` operation.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124724/new/
https://reviews.llvm.org/D124724
Files:
clang/lib/CodeGen/CGStmtOpenMP.cpp
clang/test/OpenMP/atomic_capture_codegen.cpp
clang/test/OpenMP/atomic_update_codegen.cpp
clang/test/OpenMP/for_reduction_codegen.cpp
clang/test/OpenMP/parallel_reduction_codegen.cpp
clang/test/OpenMP/reduction_implicit_map.cpp
clang/test/OpenMP/sections_reduction_codegen.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124724.426532.patch
Type: text/x-patch
Size: 94513 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220502/2d15afb9/attachment-0001.bin>
More information about the cfe-commits
mailing list