[clang] [openmp] [OpenMP] Assign lastprivate loop counter init on empty worksharing loops (PR #243086)
Amit Tiwari via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 26 23:10:23 PST 2026
================
@@ -4046,6 +4016,24 @@ struct ScheduleKindModifiersTy {
};
} // namespace
+/// Return the for-init of a lastprivate loop counter. Empty loops still run
+/// that init in sequential code. Skip collapse nests and
----------------
loopacino wrote:
Agreed. Reworded the same.
https://github.com/llvm/llvm-project/pull/243086
More information about the cfe-commits
mailing list