[flang-commits] [flang] [llvm] [mlir] [OpenMP] Honor barrier and last iteration flags in loop lowering (PR #224040)

Nicole Aschenbrenner via flang-commits flang-commits at lists.llvm.org
Fri Sep 25 01:37:48 PDT 2026


================
@@ -5177,7 +5187,7 @@ convertOmpSimd(Operation &opInst, llvm::IRBuilderBase &builder,
           .failed())
     return failure();
 
-  // No call to copyFirstPrivateVars because FIRSTPRIVATE is not allowed for
+  // No call to completePrivateVars because FIRSTPRIVATE is not allowed for
   // SIMD.
----------------
nicebert wrote:

Good point. I've updated the comment to account for the dual purpose, but the premise still holds: we don't need to call it for simd.

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


More information about the flang-commits mailing list