[flang-commits] [flang] [flang][OpenMP] Enable delayed privatization for `omp parallel` by default (PR #90945)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Mon Jun 10 04:46:39 PDT 2024


================
@@ -1,7 +1,12 @@
 ! This test checks the lowering of parallel do
 
-! RUN: %flang_fc1 -emit-fir -flang-deprecated-no-hlfir -fopenmp %s -o - | FileCheck %s
-! RUN: bbc -fopenmp -emit-fir -hlfir=false %s -o - | FileCheck %s
+! RUN: %flang_fc1 -emit-fir -flang-deprecated-no-hlfir -fopenmp \
----------------
kiranchandramohan wrote:

For tests for which similar tests exist elsewhere it is not important. But for others it is always good to test the new flow. It is less important to test the contents of the `privateclause` operation, but would be good to check that the private operand is created and the block argument is used inside the parallel region.

https://github.com/llvm/llvm-project/pull/90945


More information about the flang-commits mailing list