[flang-commits] [flang] [flang][OpenMP][MLIR] Basic support for delayed privatization code-gen (PR #81833)
Leandro Lupori via flang-commits
flang-commits at lists.llvm.org
Thu Feb 22 07:10:38 PST 2024
================
@@ -0,0 +1,29 @@
+! Test delayed privatization for the `private` clause.
+
+! RUN: bbc -emit-fir -hlfir=false -fopenmp --openmp-enable-delayed-privatization -o - %s 2>&1 | FileCheck %s
+
+subroutine delayed_privatization_firstprivate
+ implicit none
+ integer :: var1
+
+!$OMP PARALLEL FIRSTPRIVATE(var1)
----------------
luporl wrote:
nit: I'd use lowercase here, as in the last test. My eyes are used to seeing these directives in lowercase :)
https://github.com/llvm/llvm-project/pull/81833
More information about the flang-commits
mailing list