[all-commits] [llvm/llvm-project] 65cb0e: [Flang][OpenMP] Add Semantics support for Nested O...

Jack Styles via All-commits all-commits at lists.llvm.org
Tue Jul 1 00:39:37 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 65cb0eae58d2b668869f3e8f10cb79eb2b8c55ac
      https://github.com/llvm/llvm-project/commit/65cb0eae58d2b668869f3e8f10cb79eb2b8c55ac
  Author: Jack Styles <jack.styles at arm.com>
  Date:   2025-07-01 (Tue, 01 Jul 2025)

  Changed paths:
    M flang/include/flang/Parser/parse-tree.h
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    M flang/lib/Parser/unparse.cpp
    M flang/lib/Semantics/canonicalize-omp.cpp
    M flang/lib/Semantics/check-omp-structure.cpp
    M flang/lib/Semantics/resolve-directives.cpp
    A flang/test/Lower/OpenMP/nested-loop-transformation-construct01.f90
    A flang/test/Lower/OpenMP/nested-loop-transformation-construct02.f90
    A flang/test/Parser/OpenMP/loop-transformation-construct01.f90
    A flang/test/Parser/OpenMP/loop-transformation-construct02.f90
    A flang/test/Semantics/OpenMP/loop-transformation-construct01.f90

  Log Message:
  -----------
  [Flang][OpenMP] Add Semantics support for Nested OpenMPLoopConstructs (#145917)

In OpenMP Version 5.1, the tile and unroll directives were added. When
using these directives, it is possible to nest them within other OpenMP
Loop Constructs. This patch enables the semantics to allow for this
behaviour on these specific directives. Any nested loops will be stored
within the initial Loop Construct until reaching the DoConstruct itself.

Relevant tests have been added, and previous behaviour has been retained
with no changes.

See also, #110008



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