Files
clang-p2996/flang/lib/Semantics/check-acc-structure.cpp
Valentin Clement (バレンタイン クレメン) c46d732fd7 [flang][openacc] Check atomic update lhs/rhs are scalar (#66113)
Add semantic check for `!$acc atomic update`. RHS and LHS of the update
assignment must be scalar.

Without this check the code was going all the way to MLIR and trigger a
verifier error. This gives better user error message.
2023-09-12 11:00:01 -07:00

27 KiB