[clang] [llvm] [clang][OpenMP] Add no-loop SPMD kernel promotion (PR #224041)

Dhruva Chakrabarti via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 23 16:49:27 PDT 2026


================
@@ -2648,12 +2668,26 @@ static void emitAlignedClause(CodeGenFunction &CGF,
 }
 
 void CodeGenFunction::EmitOMPPrivateLoopCounters(
-    const OMPLoopDirective &S, CodeGenFunction::OMPPrivateScope &LoopScope) {
+    const OMPLoopDirective &S, CodeGenFunction::OMPPrivateScope &LoopScope,
+    bool OnlyUnresolved) {
----------------
dhruvachak wrote:

I did not see any call-site passing true for OnlyUnresolved. Remove it until there is a caller?

https://github.com/llvm/llvm-project/pull/224041


More information about the llvm-commits mailing list