[all-commits] [llvm/llvm-project] 6311ab: [Flang] Syntax support for OMP Allocators Construct

Ethan Luis McDonough via All-commits all-commits at lists.llvm.org
Wed May 10 12:57:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6311ab21474a0f3e0340515185cd1d6e33a9892a
      https://github.com/llvm/llvm-project/commit/6311ab21474a0f3e0340515185cd1d6e33a9892a
  Author: Ethan Luis McDonough <ethanluismcdonough at gmail.com>
  Date:   2023-05-10 (Wed, 10 May 2023)

  Changed paths:
    M flang/examples/FeatureList/FeatureList.cpp
    M flang/examples/FlangOmpReport/FlangOmpReportVisitor.cpp
    M flang/include/flang/Parser/dump-parse-tree.h
    M flang/include/flang/Parser/parse-tree.h
    M flang/lib/Lower/OpenMP.cpp
    M flang/lib/Parser/openmp-parsers.cpp
    M flang/lib/Parser/unparse.cpp
    A flang/test/Parser/OpenMP/allocators-unparse.f90

  Log Message:
  -----------
  [Flang] Syntax support for OMP Allocators Construct

OpenMP 5.2 introduces a Fortran specific construct that aims to replace the executable allocate directive.  This patch seeks to add parser support for the directive as well as the allocator clause with the [[ https://www.openmp.org/wp-content/uploads/OpenMP-API-Specification-5-2.pdf#section.6.6 | extended align/complex ]] modifier.

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D149727




More information about the All-commits mailing list