[flang-commits] [flang] [flang][OpenMP] Add TODOs for target [teams|parallel] private (PR #143706)
Tom Eccles via flang-commits
flang-commits at lists.llvm.org
Wed Jun 11 07:09:01 PDT 2025
================
@@ -4317,6 +4317,13 @@ static void genOMP(lower::AbstractConverter &converter, lower::SymMap &symTable,
parser::ToUpperCaseLetters(llvm::omp::getOpenMPClauseName(clause.id));
TODO(clauseLocation, name + " clause is not implemented yet");
}
+
+ if (std::holds_alternative<clause::Private>(clause.u) &&
+ origDirective == llvm::omp::Directive::OMPD_target_teams)
+ TODO(clauseLocation, "TARGET TEAMS PRIVATE is not implemented yet");
+ if (std::holds_alternative<clause::Private>(clause.u) &&
+ origDirective == llvm::omp::Directive::OMPD_target_parallel)
+ TODO(clauseLocation, "TARGET PARALLEL PRIVATE is not implemented yet");
----------------
tblah wrote:
Ahh good point. I'm not sure about the state of `teams private` but lets not disable it just in case.
https://github.com/llvm/llvm-project/pull/143706
More information about the flang-commits
mailing list