[flang][openacc] Lower init and shutdown directive
authorValentin Clement <clementval@gmail.com>
Thu, 5 Nov 2020 00:30:39 +0000 (19:30 -0500)
committerclementval <clementval@gmail.com>
Thu, 5 Nov 2020 00:30:46 +0000 (19:30 -0500)
commit4ec7f7e45a6c12c6cc2fea36cf15e90ebb1bb6ea
treec0d803e883d166728b0a802446b7ea9d7bfd0501
parent8e466f69cfaeedbf63e8c643865177bb6e53740c
[flang][openacc] Lower init and shutdown directive

This patch upstream the lowering of Init and Shutdown directives that was initially done in
https://github.com/flang-compiler/f18-llvm-project/pull/529

Reviewed By: schweitz

Differential Revision: https://reviews.llvm.org/D90488
flang/lib/Lower/OpenACC.cpp