[all-commits] [llvm/llvm-project] 85657e: Avoid lowering clauses for inapplicable metadirect...

Chi-Chun, Chen via All-commits all-commits at lists.llvm.org
Fri Jul 17 21:16:48 PDT 2026


  Branch: refs/heads/users/cchen/flang-metadirective-loop-core
  Home:   https://github.com/llvm/llvm-project
  Commit: 85657e5d485cf57d3014043eabc2fb9a8860a8ac
      https://github.com/llvm/llvm-project/commit/85657e5d485cf57d3014043eabc2fb9a8860a8ac
  Author: chichunchen <chichunchen844 at gmail.com>
  Date:   2026-07-17 (Fri, 17 Jul 2026)

  Changed paths:
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    M flang/test/Lower/OpenMP/metadirective-implementation.f90

  Log Message:
  -----------
  Avoid lowering clauses for inapplicable metadirective variants

Classify raw directive specifications from their leaf directive IDs when
checking for loop association. This keeps clause conversion after applicability
filtering, so unsupported clauses in discarded variants cannot reach lowering.

Add a regression for an inapplicable ASSUME HOLDS variant with a NOTHING fallback.

Assisted with codex.



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