================
@@ -6540,6 +6593,8 @@ void CodeGenFunction::EmitOMPDistributeLoop(const 
OMPLoopDirective &S,
           !isOpenMPParallelDirective(S.getDirectiveKind()) &&
           !isOpenMPTeamsDirective(S.getDirectiveKind()))
         EmitOMPReductionClauseInit(S, LoopScope);
+
+      const bool NoLoopKernel = CGM.getOpenMPRuntime().canPromoteToNoLoop();
----------------
dhruvachak wrote:

The loop directive is available right there to be passed into the query.

https://github.com/llvm/llvm-project/pull/224041
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to