[all-commits] [llvm/llvm-project] 0d592e: [flang][OpenMP] Select depend and affinity iterato...
Chi-Chun, Chen via All-commits
all-commits at lists.llvm.org
Tue Sep 29 12:38:06 PDT 2026
Branch: refs/heads/users/cchen/flang_openmp_per_locator_iterator
Home: https://github.com/llvm/llvm-project
Commit: 0d592eb73c6dab418a58ee936e53f84e7bc88f04
https://github.com/llvm/llvm-project/commit/0d592eb73c6dab418a58ee936e53f84e7bc88f04
Author: Chi-Chun, Chen <chichun.chen at hpe.com>
Date: 2026-09-29 (Tue, 29 Sep 2026)
Changed paths:
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/Utils.cpp
M flang/lib/Lower/OpenMP/Utils.h
A flang/test/Lower/OpenMP/depend-iterator-unused-range.f90
M flang/test/Lower/OpenMP/depend-iterator.f90
M flang/test/Lower/OpenMP/task-affinity.f90
Log Message:
-----------
[flang][OpenMP] Select depend and affinity iterators per locator
Expand each depend and affinity locator over only the iterator identifiers
referenced by that locator. Previously, every iterator-dependent locator
used all ranges in the clause, so an unused empty range could suppress
required dependences or affinity entries.
Sharing range selection keeps depend and affinity consistent when locators
in the same clause reference different iterator subsets. The LLVM IR
regression checks the dependence count passed to the runtime, where an
unused range previously caused required task ordering to be lost.
Addresses the prerequisite fix requested for #197757:
https://github.com/llvm/llvm-project/pull/197757#discussion_r4079319531
Fixes https://github.com/llvm/llvm-project/issues/227443.
Assisted with codex.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list