[all-commits] [llvm/llvm-project] 249d06: Fix DISTRIBUTE context for SIMD clauses
Chi-Chun, Chen via All-commits
all-commits at lists.llvm.org
Mon Sep 28 10:24:02 PDT 2026
Branch: refs/heads/users/cchen/openmp-variant-matching-scoring
Home: https://github.com/llvm/llvm-project
Commit: 249d0677013c7049ea5b8dfbb17ee697ebcc1b89
https://github.com/llvm/llvm-project/commit/249d0677013c7049ea5b8dfbb17ee697ebcc1b89
Author: Chi-Chun, Chen <chichun.chen at hpe.com>
Date: 2026-09-26 (Sat, 26 Sep 2026)
Changed paths:
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/test/Lower/OpenMP/declare-variant-loop-bounds.f90
Log Message:
-----------
Fix DISTRIBUTE context for SIMD clauses
Enter DISTRIBUTE while evaluating SIMD clauses, then leave it before loop bounds. Cover clause selection, bound exclusion, and restoration.
Commit: 4328f6d4188999269279a66f9f932258acde9660
https://github.com/llvm/llvm-project/commit/4328f6d4188999269279a66f9f932258acde9660
Author: Chi-Chun, Chen <chichun.chen at hpe.com>
Date: 2026-09-26 (Sat, 26 Sep 2026)
Changed paths:
M flang/lib/Semantics/openmp-utils.cpp
M flang/test/Lower/OpenMP/declare-variant-condition-identity.f90
Log Message:
-----------
Normalize Flang condition expression spelling
Profile original expression structure and declaration identity, normalizing intrinsic operators and literal values and kinds. Preserve signed integer boundaries and cover alternate spellings and nondefault kinds.
Commit: 4cd0fbd975e5301d00c66d809343a45814d93c82
https://github.com/llvm/llvm-project/commit/4cd0fbd975e5301d00c66d809343a45814d93c82
Author: Chi-Chun, Chen <chichun.chen at hpe.com>
Date: 2026-09-26 (Sat, 26 Sep 2026)
Changed paths:
M flang/include/flang/Semantics/openmp-utils.h
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Semantics/openmp-utils.cpp
M flang/test/Lower/OpenMP/declare-variant-condition-identity.f90
M flang/test/Lower/OpenMP/metadirective-user.f90
M llvm/include/llvm/Frontend/OpenMP/OMPContext.h
M llvm/lib/Frontend/OpenMP/OMPContext.cpp
M llvm/unittests/Frontend/OpenMPContextTest.cpp
Log Message:
-----------
Preserve metadirective candidate order
Compute subset-adjusted scores once and retain the ordering across runtime guard failures. Share ranks between lowering and reachability so failed supersets cannot restore a subset score.
Commit: d0f9f012dd2f151af3c7220a639ee6579231b240
https://github.com/llvm/llvm-project/commit/d0f9f012dd2f151af3c7220a639ee6579231b240
Author: Chi-Chun, Chen <chichun.chen at hpe.com>
Date: 2026-09-28 (Mon, 28 Sep 2026)
Changed paths:
M flang/test/Lower/OpenMP/declare-variant-condition-identity.f90
Log Message:
-----------
Anchor imported condition checks to the selected branch
Require TASKWAIT in the first runtime arm so a nested fallback cannot
satisfy the same-condition expectation.
Commit: 0954321edfbdedb6583510c0f1f5cd5ae80753b6
https://github.com/llvm/llvm-project/commit/0954321edfbdedb6583510c0f1f5cd5ae80753b6
Author: Chi-Chun, Chen <chichun.chen at hpe.com>
Date: 2026-09-28 (Mon, 28 Sep 2026)
Changed paths:
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Lower/OpenMP/Utils.cpp
M flang/test/Lower/OpenMP/declare-variant-loop-bounds.f90
M flang/test/Lower/OpenMP/declare-variant-metadirective-context.f90
Log Message:
-----------
Use the outer loop context for composite bounds
Resolve original bounds and strides before the outermost loop-associated
constituent. In particular, TEAMS DISTRIBUTE PARALLEL DO bounds see TEAMS,
even when lowering has already created the inner PARALLEL operation.
Scope the context to loop-control evaluation, preserving clause contexts,
genuinely enclosing loops, body contexts, and subsequent expressions.
Cover lower bounds, upper bounds, strides, composite scoring depth, and
static and runtime DO SIMD replacements.
Compare: https://github.com/llvm/llvm-project/compare/1aa333aaf4a1...0954321edfbd
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