aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorShashwathiNavada <shashwathinavada@gmail.com>2024-11-25 16:08:39 +0530
committerGitHub <noreply@github.com>2024-11-25 16:08:39 +0530
commit612f8ec7ac5dcddd16fb027aad64e2e353faa528 (patch)
tree6fb9a58fb6f8273c9074c1b6296a56c54cd7b270 /clang/lib/CodeGen/CodeGenModule.cpp
parent48ec59c234ce267a0454b15e9a79a326e21a4a97 (diff)
downloadllvm-612f8ec7ac5dcddd16fb027aad64e2e353faa528.zip
llvm-612f8ec7ac5dcddd16fb027aad64e2e353faa528.tar.gz
llvm-612f8ec7ac5dcddd16fb027aad64e2e353faa528.tar.bz2
seq_cst is allowed in Flush since OpenMP 5.1. (#114072)
This PR adds support seq_cst (sequential consistency) clause for the flush directive in OpenMP. The seq_cst clause enforces a stricter memory ordering, ensuring that all threads observe the memory effects of the flush in the same order, improving consistency in memory operations across threads. --------- Co-authored-by: Shashwathi N <nshashwa@pe28vega.hpc.amslabs.hpecorp.net> Co-authored-by: CHANDRA GHALE <chandra.nitdgp@gmail.com>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions