[flang][openacc] Lower serial and serial loop construct
authorValentin Clement <clementval@gmail.com>
Thu, 13 Apr 2023 22:35:45 +0000 (15:35 -0700)
committerValentin Clement <clementval@gmail.com>
Thu, 13 Apr 2023 22:36:11 +0000 (15:36 -0700)
commitd30b4e515a0cf509e56b88ddd7ddb87b9e601508
tree6faa7dff3add681a89d63465885e4e00e891c439
parent7cf1608b4d8f7f4d20c994dd13451efb7c9560b5
[flang][openacc] Lower serial and serial loop construct

Lower the parse tree to acc dialects operations. Make use
of the parallel construct lowering and make it suitable
for all compute constructs lowering.

Reviewed By: PeteSteinfeld

Differential Revision: https://reviews.llvm.org/D148273
flang/lib/Lower/OpenACC.cpp
flang/test/Lower/OpenACC/acc-serial-loop.f90 [new file with mode: 0644]
flang/test/Lower/OpenACC/acc-serial.f90 [new file with mode: 0644]