[clang] [OpenMP][CodeGen] Improved codegen for combined loop directives (PR #72417)
Alexey Bataev via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 10 12:52:00 PST 2024
================
@@ -6106,6 +6106,8 @@ class OMPTeamsGenericLoopDirective final : public OMPLoopDirective {
class OMPTargetTeamsGenericLoopDirective final : public OMPLoopDirective {
friend class ASTStmtReader;
friend class OMPExecutableDirective;
+ /// true if loop directive's associated loop can be a parallel for.
+ bool CanBeParallelFor = false;
----------------
alexey-bataev wrote:
I'm saying that you can move this function to the codegen and call it in the codegen
https://github.com/llvm/llvm-project/pull/72417
More information about the cfe-commits
mailing list