[flang-commits] [flang] [Flang][OpenMP]Support for lowering task_reduction and in_reduction to MLIR (PR #111155)
Kaviya Rajendiran via flang-commits
flang-commits at lists.llvm.org
Fri Dec 13 04:00:44 PST 2024
================
@@ -344,8 +344,13 @@ void DataSharingProcessor::collectSymbols(
// Collect all symbols referenced in the evaluation being processed,
// that matches 'flag'.
llvm::SetVector<const semantics::Symbol *> allSymbols;
+ bool collectSymbols = true;
+ for (const omp::Clause &clause : clauses) {
+ if (clause.id == llvm::omp::Clause::OMPC_in_reduction)
+ collectSymbols = false;
+ }
----------------
kaviya2510 wrote:
Done.
https://github.com/llvm/llvm-project/pull/111155
More information about the flang-commits
mailing list