[flang][OpenACC] Lower init/shutdown directive
authorValentin Clement <clementval@gmail.com>
Thu, 24 Mar 2022 14:16:46 +0000 (15:16 +0100)
committerValentin Clement <clementval@gmail.com>
Thu, 24 Mar 2022 14:18:09 +0000 (15:18 +0100)
commit39157b98fd04ea540e85f5df8be1cee7f97ac653
tree259a934364eb0edd5dbcb3f8c632e29eeb430d8b
parent67defe50679078c2ffa5543348e378e1cd996fd9
[flang][OpenACC] Lower init/shutdown directive

This patch adds lowering for the `!$acc init` and `!$acc shutdown`
from the PFT to OpenACC dialect.

This patch is part of the upstreaming effort from fir-dev branch.

Depends on D122384

Reviewed By: PeteSteinfeld

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