[flang] [llvm] [Flang][OpenMP][Sema] Adding parsing and semantic support for scan directive. (PR #102792)
Kiran Chandramohan via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 14 12:02:10 PST 2024
================
@@ -70,6 +72,43 @@ class OmpStructureChecker
) {
}
using llvmOmpClause = const llvm::omp::Clause;
+ using ReductionModifier = parser::OmpReductionClause::ReductionModifier;
+ using Symbol = Fortran::semantics::Symbol;
+ class ScanReductionInfo {
+ std::set<Symbol *> usedInScan;
+ std::map<Symbol *, ReductionModifier> reductionMod;
----------------
kiranchandramohan wrote:
Do we still need this map and stack, now that we can go from the inclusive or exclusive clauses to the reduction symbol?
https://github.com/llvm/llvm-project/pull/102792
More information about the llvm-commits
mailing list