[all-commits] [llvm/llvm-project] 7f0d54: [flang][openmp] Allocators construct semantic checks

Ethan Luis McDonough via All-commits all-commits at lists.llvm.org
Wed Aug 2 10:59:22 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f0d54b4299547856073632c460bed53e63f40c4
      https://github.com/llvm/llvm-project/commit/7f0d54b4299547856073632c460bed53e63f40c4
  Author: Ethan Luis McDonough <ethanluismcdonough at gmail.com>
  Date:   2023-08-02 (Wed, 02 Aug 2023)

  Changed paths:
    M flang/include/flang/Parser/parse-tree.h
    M flang/lib/Semantics/check-omp-structure.cpp
    M flang/lib/Semantics/check-omp-structure.h
    M flang/lib/Semantics/resolve-directives.cpp
    A flang/test/Semantics/OpenMP/allocate-clause01.f90
    A flang/test/Semantics/OpenMP/allocators01.f90
    A flang/test/Semantics/OpenMP/allocators02.f90
    A flang/test/Semantics/OpenMP/allocators03.f90
    A flang/test/Semantics/OpenMP/allocators04.f90
    A flang/test/Semantics/OpenMP/allocators05.f90
    A flang/test/Semantics/OpenMP/allocators06.f90
    M llvm/include/llvm/Frontend/OpenMP/OMP.td

  Log Message:
  -----------
  [flang][openmp] Allocators construct semantic checks

This patch applies the semantic checks for executable allocation directives to the new allocators construct.  It also introduces a new check that ensures all items in the list appear in the corresponding Fortran allocate statement.

Reviewed By: kiranchandramohan

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




More information about the All-commits mailing list