[all-commits] [llvm/llvm-project] 20b4d7: Share construct contexts for variant reachability
Chi-Chun, Chen via All-commits
all-commits at lists.llvm.org
Mon Sep 21 23:46:52 PDT 2026
Branch: refs/heads/users/cchen/flang-metadirective-loop-reachable-paths
Home: https://github.com/llvm/llvm-project
Commit: 20b4d703ab09673c06750b676b2e561a8c0dfece
https://github.com/llvm/llvm-project/commit/20b4d703ab09673c06750b676b2e561a8c0dfece
Author: Chi-Chun, Chen <chichun.chen at hpe.com>
Date: 2026-09-22 (Tue, 22 Sep 2026)
Changed paths:
M flang/include/flang/Semantics/openmp-utils.h
M flang/lib/Semantics/check-omp-variant.cpp
M flang/lib/Semantics/openmp-utils.cpp
M flang/test/Driver/bbc-openmp-target-context.f90
M flang/test/Semantics/OpenMP/metadirective-construct-paths.f90
Log Message:
-----------
Share construct contexts for variant reachability
Use AppendDirectiveContextTraits when building reachable directive paths
so semantic checks and lowering apply the same construct-context rules.
This excludes informational directives such as ASSUME while retaining
executable loop transformations and the source order of combined constructs.
Make AppendConstructTraitsForDirective private again and add semantic
tests for TILE, UNROLL, ASSUME, and TEAMS DISTRIBUTE PARALLEL DO. These
complement the existing lowering tests. The ASSUME case detects the old
collector counting an extra position and skipping a required diagnostic.
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