[all-commits] [llvm/llvm-project] f5d347: [flang][OpenMP] Allow structure component in `task...

Kareem Ergawy via All-commits all-commits at lists.llvm.org
Thu May 29 21:22:50 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f5d3470d425f9ee99436bfdc0c1ae1ce03bab385
      https://github.com/llvm/llvm-project/commit/f5d3470d425f9ee99436bfdc0c1ae1ce03bab385
  Author: Kareem Ergawy <kareem.ergawy at amd.com>
  Date:   2025-05-30 (Fri, 30 May 2025)

  Changed paths:
    M flang/include/flang/Evaluate/tools.h
    M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
    M flang/lib/Semantics/check-omp-structure.cpp
    A flang/test/Lower/OpenMP/task-depend-structure-component.f90
    R flang/test/Semantics/OpenMP/depend02.f90

  Log Message:
  -----------
  [flang][OpenMP] Allow structure component in `task depend` clauses (#141923)

Even though the spec (version 5.2) prohibits strcuture components from
being specified in `depend` clauses, this restriction is not sensible.

This PR rectifies the issue by lifting that restriction and allowing
structure components in `depend` clauses (which is allowed by OpenMP
6.0).



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