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

Kareem Ergawy via All-commits all-commits at lists.llvm.org
Thu May 29 03:23:57 PDT 2025


  Branch: refs/heads/users/ergawy/depend_clause_struct_elements_2
  Home:   https://github.com/llvm/llvm-project
  Commit: 18a503d2c70a7aad7e397cb1c85ac8dcad34f72b
      https://github.com/llvm/llvm-project/commit/18a503d2c70a7aad7e397cb1c85ac8dcad34f72b
  Author: ergawy <kareem.ergawy at amd.com>
  Date:   2025-05-29 (Thu, 29 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

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