diff options
| author | Krzysztof Parzyszek <Krzysztof.Parzyszek@amd.com> | 2025-10-16 15:33:05 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-16 15:33:05 -0500 |
| commit | 527f7f5c36b825a948209b18c223ac682bb4dfb7 (patch) | |
| tree | 208ba8fdffe4527882d1952eb021b0b550c5a063 /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | db530bf7aae448fe40f74352d83fcbd812c1caec (diff) | |
| download | llvm-527f7f5c36b825a948209b18c223ac682bb4dfb7.zip llvm-527f7f5c36b825a948209b18c223ac682bb4dfb7.tar.gz llvm-527f7f5c36b825a948209b18c223ac682bb4dfb7.tar.bz2 | |
[flang][OpenMP] Handle conflicts between REQUIRES and ATOMIC restrict… (#163805)
…ions
When the atomic default memory order specified on a REQUIRES directive
is disallowed on a given ATOMIC operation, and it's not ACQ_REL, the
order reverts to RELAXED. ACQ_REL decays to either ACQUIRE or RELEASE,
depending on the operation.
This fixes MLIR verification failure in
Fortran/gfortran/regression/gomp/requires-9.f90
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
