[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 07:33:45 PDT 2024


================
@@ -262,6 +262,15 @@ void DataSharingProcessor::insertLastPrivateCompare(mlir::Operation *op) {
   }
 }
 
+static bool mayHavePrivatizations(const lower::pft::Evaluation &eval) {
----------------
luporl wrote:

Thanks for the review! Your suggestion worked well, so I've switched to it in the last commit.

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


More information about the flang-commits mailing list