[flang] Flush and master constructs
authorShraiysh Vaishay <Shraiysh.Vaishay@amd.com>
Wed, 23 Mar 2022 04:33:11 +0000 (10:03 +0530)
committerShraiysh Vaishay <Shraiysh.Vaishay@amd.com>
Wed, 23 Mar 2022 04:34:46 +0000 (10:04 +0530)
commit51433662e2cc8329892a70838095de414cfaaacc
treec3b3ba86d12dd29020f113002f2de6eb23dd7366
parentb244bba582495470087c8a4d132ca956f74473b4
[flang] Flush and master constructs

This patch adds tests for flush and master constructs

This is part of the upstreaming effort from the fir-dev branch in [1].
[1] https://github.com/flang-compiler/f18-llvm-project

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D122250

Co-authored By: Sourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
flang/lib/Lower/OpenMP.cpp
flang/test/Lower/OpenMP/flush.f90 [new file with mode: 0644]
flang/test/Lower/OpenMP/master.f90 [new file with mode: 0644]