[all-commits] [llvm/llvm-project] 9e284f: Preserve SIMD context for variant selection
Chi-Chun, Chen via All-commits
all-commits at lists.llvm.org
Fri Sep 11 09:25:14 PDT 2026
Branch: refs/heads/users/cchen/flang-metadirective-loop-reachable-paths
Home: https://github.com/llvm/llvm-project
Commit: 9e284f727dbe82ee71ae8471c6fe186197543840
https://github.com/llvm/llvm-project/commit/9e284f727dbe82ee71ae8471c6fe186197543840
Author: Chi-Chun, Chen <chichun.chen at hpe.com>
Date: 2026-09-10 (Thu, 10 Sep 2026)
Changed paths:
M flang/lib/Lower/OpenMP/Utils.cpp
M flang/test/Lower/OpenMP/declare-variant-construct.f90
Log Message:
-----------
Preserve SIMD context for variant selection
SIMD selectors cannot match when lowering omits the enclosing SIMD trait.
Collect it so calls inside SIMD and DO SIMD select the correct variant.
Commit: 68e321113736992399033c31626e274112cb99e6
https://github.com/llvm/llvm-project/commit/68e321113736992399033c31626e274112cb99e6
Author: Chi-Chun, Chen <chichun.chen at hpe.com>
Date: 2026-09-10 (Thu, 10 Sep 2026)
Changed paths:
M flang/lib/Semantics/check-omp-structure.cpp
M flang/lib/Semantics/check-omp-structure.h
M flang/lib/Semantics/check-omp-variant.cpp
M flang/lib/Semantics/openmp-utils.cpp
M flang/test/Lower/OpenMP/declare-variant-construct.f90
M flang/test/Lower/OpenMP/metadirective-implementation.f90
M flang/test/Lower/OpenMP/metadirective-user.f90
M flang/test/Semantics/OpenMP/metadirective-construct-paths.f90
M llvm/lib/Frontend/OpenMP/OMPContext.cpp
M llvm/unittests/Frontend/OpenMPContextTest.cpp
Log Message:
-----------
Preserve reachable metadirective variants across ranking and scopes
Incorrect candidate scores and stale scope boundaries can suppress required
loop diagnostics or let directives associate with loops outside their region.
Keep pending scopes consistent as directives are consumed, and preserve
candidate scores and highest-valued ordered matches when selecting and
merging reachable paths. Handle unknown properties without aborting ranking.
Commit: 59336302078fc8459d9f413366dcf47dd752497b
https://github.com/llvm/llvm-project/commit/59336302078fc8459d9f413366dcf47dd752497b
Author: Chi-Chun, Chen <chichun.chen at hpe.com>
Date: 2026-09-11 (Fri, 11 Sep 2026)
Changed paths:
M flang/include/flang/Semantics/openmp-utils.h
M flang/lib/Lower/OpenMP/Utils.cpp
M flang/lib/Semantics/check-omp-variant.cpp
M flang/lib/Semantics/openmp-utils.cpp
M flang/test/Lower/OpenMP/declare-variant-construct.f90
M flang/test/Lower/OpenMP/metadirective-construct.f90
M flang/test/Lower/OpenMP/metadirective-implementation.f90
A flang/test/Lower/OpenMP/metadirective-target-boundary.f90
M flang/test/Lower/OpenMP/metadirective-user.f90
M flang/test/Semantics/OpenMP/metadirective-construct-paths.f90
M llvm/lib/Frontend/OpenMP/OMPContext.cpp
Log Message:
-----------
Respect target boundaries during OpenMP variant lowering
Stop collecting construct traits at the innermost TARGET so lowering
agrees with semantic analysis when selecting metadirective replacements
and DECLARE VARIANT callees.
Compare: https://github.com/llvm/llvm-project/compare/7f525837ea63...59336302078f
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