[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 06:56:25 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:
Please could you do this inside of genTeamsClauses: that would be more in line with how other TODOs in this file are located.
https://github.com/llvm/llvm-project/pull/143706
More information about the flang-commits
mailing list