[PATCH] D90697: [Flang][OpenMP 4.5] Add semantic check for OpenMP Reduction Clause

Yashaswini Hegde via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 21 05:16:42 PST 2020


yhegde added a comment.

In D90697#2465189 <https://reviews.llvm.org/D90697#2465189>, @kiranchandramohan wrote:

> The following are not implemented. They also don't seem to be in the list of items to do. Do you know why they were not added?

I think  we were not very sure that we can catch them at compile time.  But I suppose type and rank of a list item can be checked at compile time.

> -> The type and the rank of a list item that appears in a reduction clause must be valid for the combiner and initializer.
> -> Additionally, the list item or the pointer component of the list item must not be deallocated, allocated, or pointer assigned within the region.
> -> Additionally, the list item or the allocatable component of the list item must be neither deallocated nor allocated within the region


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D90697/new/

https://reviews.llvm.org/D90697



More information about the llvm-commits mailing list