[all-commits] [llvm/llvm-project] f36a25: [Flang] [OpenMP] [Semantics] Change SIMD ALIGNED c...
raghavendhra via All-commits
all-commits at lists.llvm.org
Thu Jun 29 15:25:09 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f36a25479b5ead98f1a9cfb1ce59612687f5f5d1
https://github.com/llvm/llvm-project/commit/f36a25479b5ead98f1a9cfb1ce59612687f5f5d1
Author: Raghu Maddhipatla <Raghu.Maddhipatla at amd.com>
Date: 2023-06-29 (Thu, 29 Jun 2023)
Changed paths:
M flang/include/flang/Parser/parse-tree.h
M flang/lib/Parser/openmp-parsers.cpp
M flang/lib/Parser/unparse.cpp
M flang/lib/Semantics/check-omp-structure.cpp
M flang/lib/Semantics/resolve-directives.cpp
M flang/test/Semantics/OpenMP/clause-validity01.f90
M flang/test/Semantics/OpenMP/simd-aligned.f90
Log Message:
-----------
[Flang] [OpenMP] [Semantics] Change SIMD ALIGNED clause support from parsing a std::list<Name> to OmpObjectlist
This is an assisting patch which is implemented to address review comment to switch std::list<Name> to OmpObjectlist from https://reviews.llvm.org/D142722.
Also addressed a semantic check https://github.com/llvm/llvm-project/issues/61161 OpenMP 5.2 standard states that only pointer variables (C_PTR, Cray pointers, POINTER or ALLOCATABLE items) can appear in SIMD aligned clause (section 5.11). And not to allow common block names on an ALIGNED clause.
Reviewed By: kiranchandramohan
Differential Revision: https://reviews.llvm.org/D152637
More information about the All-commits
mailing list