[all-commits] [llvm/llvm-project] 3aad77: [flang][openacc] Fixed atomic capture with array/c...
Slava Zakharin via All-commits
all-commits at lists.llvm.org
Thu Nov 2 08:41:44 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3aad77ebc37532a6a3836d902d0014391ed0a0eb
https://github.com/llvm/llvm-project/commit/3aad77ebc37532a6a3836d902d0014391ed0a0eb
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2023-11-02 (Thu, 02 Nov 2023)
Changed paths:
M flang/lib/Lower/DirectivesCommon.h
M flang/test/Lower/OpenACC/acc-atomic-capture.f90
Log Message:
-----------
[flang][openacc] Fixed atomic capture with array/comp refs on the RHS. (#71013)
checkForSingleVariableOnRHS() failed for assignments like `v = x(i)`,
so the lowering produced incorrect code for atomic capture regions.
I believe any designator on the RHS should indicate that this is
a capture statement.
More information about the All-commits
mailing list