diff options
author | Slava Zakharin <szakharin@nvidia.com> | 2023-11-02 08:41:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-02 08:41:30 -0700 |
commit | 3aad77ebc37532a6a3836d902d0014391ed0a0eb (patch) | |
tree | 0d3818669e2e9c6bb56ee6bb76c0dcefab28aca7 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 4acc357a3700e6bc7afe3f6393d423c3d8b02d7d (diff) | |
download | llvm-3aad77ebc37532a6a3836d902d0014391ed0a0eb.zip llvm-3aad77ebc37532a6a3836d902d0014391ed0a0eb.tar.gz llvm-3aad77ebc37532a6a3836d902d0014391ed0a0eb.tar.bz2 |
[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.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions