[all-commits] [llvm/llvm-project] 22302d: Preserve OpenMP variant ranking and reachability

Chi-Chun, Chen via All-commits all-commits at lists.llvm.org
Mon Sep 14 10:14:15 PDT 2026


  Branch: refs/heads/users/cchen/flang-metadirective-loop-reachable-paths
  Home:   https://github.com/llvm/llvm-project
  Commit: 22302d52b6a14beaa6882904a00e28a854e316fa
      https://github.com/llvm/llvm-project/commit/22302d52b6a14beaa6882904a00e28a854e316fa
  Author: Chi-Chun, Chen <chichun.chen at hpe.com>
  Date:   2026-09-14 (Mon, 14 Sep 2026)

  Changed paths:
    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-device-kind.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 OpenMP variant ranking and reachability

Incorrect scores and premature candidate rejection can change lowering
selection or suppress required metadirective loop diagnostics.

Preserve full score values and context-dependent device weights, retain
paths distinguished by those weights, and let runtime conditions satisfy
match_any despite unknown static properties.



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