[flang-commits] [flang] [flang][OpenMP] Fix privatization when critical is present (PR #94441)

Leandro Lupori via flang-commits flang-commits at lists.llvm.org
Wed Jun 5 01:51:44 PDT 2024


================
@@ -51,3 +51,27 @@ subroutine predetermined_privatization()
   end do
   !$omp end parallel do
 end
+
+! https://github.com/llvm/llvm-project/issues/75767
+!CHECK-LABEL: func @_QPnested_privatization(
+subroutine nested_privatization()
----------------
luporl wrote:

Looking again, `nested_privatization` doesn't seem to properly describe the scenario where the issue happened.
Maybe `parallel_critical_privatization` would be a better name?

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


More information about the flang-commits mailing list