diff options
author | Krzysztof Parzyszek <Krzysztof.Parzyszek@amd.com> | 2025-06-13 10:29:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-13 10:29:31 -0500 |
commit | eba63cd76f7ba7f9e9964b1263f76409d08fcd04 (patch) | |
tree | f4f714f7417a4aa6486939819f2d35524eb7394b /clang/lib/CodeGen | |
parent | 3ea45a65edb2f033e59a12f71a8241f220791ac8 (diff) | |
download | llvm-eba63cd76f7ba7f9e9964b1263f76409d08fcd04.zip llvm-eba63cd76f7ba7f9e9964b1263f76409d08fcd04.tar.gz llvm-eba63cd76f7ba7f9e9964b1263f76409d08fcd04.tar.bz2 |
[flang][OpenMP] Improve handling of REQUIRES ATOMIC_DEFAULT_MEM_ORDER (#143917)
According to OpenMP 5.0 rules, the ACQ_REL ordering coming from a
REQUIRES directive may need to be replaced with ACQUIRE or RELEASE
depending on the directive in the ATOMIC construct. This was not done,
leading to an incorrect "memory-order" clause appearing in the generated
HLFIR.
This may need to be relaxed a bit to fully comply with later spec
versions, that will be done in a future PR.
Diffstat (limited to 'clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions