[all-commits] [llvm/llvm-project] 3eef33: [flang][OpenMP] Select depend and affinity iterato...
Chi-Chun, Chen via All-commits
all-commits at lists.llvm.org
Tue Sep 29 12:29:40 PDT 2026
Branch: refs/heads/users/cchen/flang_openmp_per_locator_iterator
Home: https://github.com/llvm/llvm-project
Commit: 3eef330886546016aae87b523cfe7f0d4d556b49
https://github.com/llvm/llvm-project/commit/3eef330886546016aae87b523cfe7f0d4d556b49
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.
Share range selection between both lowering paths, preserving declaration
order and keeping locators without iterator references non-iterated. Add
lowering tests for unused ranges and different iterator subsets, plus an
LLVM IR test checking that an unused range cannot remove dependences.
Addresses the prerequisite fix requested for #197757:
https://github.com/llvm/llvm-project/pull/197757#discussion_r4079319531
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