[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:57:28 PDT 2024
================
@@ -262,6 +262,15 @@ void DataSharingProcessor::insertLastPrivateCompare(mlir::Operation *op) {
}
}
+static bool mayHavePrivatizations(const lower::pft::Evaluation &eval) {
+ if (const parser::OpenMPConstruct *construct =
----------------
luporl wrote:
```suggestion
if (const auto *construct =
```
https://github.com/llvm/llvm-project/pull/94441
More information about the flang-commits
mailing list