[flang][openacc] Preserve user order for entry data operand on compute construct
authorValentin Clement <clementval@gmail.com>
Wed, 10 May 2023 15:31:35 +0000 (08:31 -0700)
committerValentin Clement <clementval@gmail.com>
Wed, 10 May 2023 15:31:53 +0000 (08:31 -0700)
commitb60e49165ee10d11eacfdce9bf9c59d132d95e25
tree822ff8a22374b1cdeaf40876e1e8d8d0016090ae
parent647db57cdd08b7c3a01e22b0d4d31c4d116ab07e
[flang][openacc] Preserve user order for entry data operand on compute construct

The order of operand in clauses that are decomposed was not
preserved. This patch change how operands are handled and preserve
the user ordering for the entry data operation on the acc.parallel
operation.

Reviewed By: vzakhari

Differential Revision: https://reviews.llvm.org/D150214
flang/lib/Lower/OpenACC.cpp
flang/test/Lower/OpenACC/acc-parallel.f90