[flang][openacc] Preserve user order for entry data operand on data construct
authorValentin Clement <clementval@gmail.com>
Wed, 10 May 2023 15:22:05 +0000 (08:22 -0700)
committerValentin Clement <clementval@gmail.com>
Wed, 10 May 2023 15:22:38 +0000 (08:22 -0700)
commit63d79eb331d83b1e72554316f4fffb681670242d
tree5ba2b946c767b6dad492c3d946e6cf5efaa69cf6
parente5532fb4935b91b5e68dac73e639a567df52f473
[flang][openacc] Preserve user order for entry data operand on data 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.data
operation.

Reviewed By: vzakhari

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