[all-commits] [llvm/llvm-project] 5f3969: [flang][OpenMP] Improve checks for DO CONCURRENT i...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Wed Apr 8 08:31:01 PDT 2026


  Branch: refs/heads/users/kparzysz/collapsed-doconcurrent
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f3969927b5f0934606f666ef62ae140e9d4be0a
      https://github.com/llvm/llvm-project/commit/5f3969927b5f0934606f666ef62ae140e9d4be0a
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2026-04-08 (Wed, 08 Apr 2026)

  Changed paths:
    M flang/include/flang/Semantics/openmp-utils.h
    M flang/lib/Semantics/check-omp-loop.cpp
    M flang/lib/Semantics/openmp-utils.cpp
    M flang/lib/Semantics/resolve-directives.cpp
    A flang/test/Semantics/OpenMP/do-concurrent-collapse-60.f90
    M flang/test/Semantics/OpenMP/do-concurrent-collapse.f90

  Log Message:
  -----------
  [flang][OpenMP] Improve checks for DO CONCURRENT in loop constructs

In OpenMP 6.0+ DO CONCURRENT is allowed as an alternative to a Canonical
Loop Nest. In other words, DO CONCURRENT is allowed inside loop constructs
as long as it's the only loop.

Add checks to detect DO CONCURRENT as the root of the associated loop
nest. Remove related checks from resolve-directives.cpp.



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