[all-commits] [llvm/llvm-project] a56b76: [flang][OpenMP] Lowering support for atomic update...
NimishMishra via All-commits
all-commits at lists.llvm.org
Thu Jul 14 05:52:09 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a56b76d9ca520b4495da2a984ff481a6487736fc
https://github.com/llvm/llvm-project/commit/a56b76d9ca520b4495da2a984ff481a6487736fc
Author: Nimish Mishra <neelam.nimish at gmail.com>
Date: 2022-07-14 (Thu, 14 Jul 2022)
Changed paths:
M flang/lib/Lower/OpenMP.cpp
A flang/test/Lower/OpenMP/atomic-update.f90
Log Message:
-----------
[flang][OpenMP] Lowering support for atomic update construct
This patch adds lowering support for atomic update construct. A region
is associated with every `omp.atomic.update` operation wherein resides:
(1) the evaluation of the expression on the RHS of the atomic assignment
statement, and (2) a `omp.yield` operation that yields the extended value
of expression evaluated in (1).
Reviewed By: peixin
Differential Revision: https://reviews.llvm.org/D125668
More information about the All-commits
mailing list