[all-commits] [llvm/llvm-project] 3ee08e: Add Semantic check for Flang OpenMP 4.5 - 2.15.3.2...

YashaswiniHegde via All-commits all-commits at lists.llvm.org
Sat Nov 21 23:28:40 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ee08e38194ac05e42f8c5a633dc1aa8e41139f4
      https://github.com/llvm/llvm-project/commit/3ee08e38194ac05e42f8c5a633dc1aa8e41139f4
  Author: Yashaswini <yhegde at gmail.com>
  Date:   2020-11-22 (Sun, 22 Nov 2020)

  Changed paths:
    M flang/lib/Semantics/check-omp-structure.cpp
    M flang/lib/Semantics/check-omp-structure.h
    A flang/test/Semantics/omp-parallel-private01.f90
    A flang/test/Semantics/omp-parallel-private02.f90
    A flang/test/Semantics/omp-parallel-private03.f90
    A flang/test/Semantics/omp-parallel-private04.f90
    A flang/test/Semantics/omp-parallel-shared01.f90
    A flang/test/Semantics/omp-parallel-shared02.f90
    A flang/test/Semantics/omp-parallel-shared03.f90
    A flang/test/Semantics/omp-parallel-shared04.f90

  Log Message:
  -----------
  Add Semantic check for Flang OpenMP 4.5 - 2.15.3.2 and 2.15.3.3 shared and private clause

Semantic check to restrict the appearance of a variable that is part of another variable
 (as an array or structure element) in a PRIVATE or SHARED clause.

Test Cases:

omp-parallel-private01.f90
omp-parallel-private02.f90
omp-parallel-private03.f90
omp-parallel-private04.f90
omp-parallel-shared01.f90
omp-parallel-shared02.f90
omp-parallel-shared03.f90
omp-parallel-shared04.f90

Reviewed by: Kiran Chandramohan @kiranchandramohan , Valentin Clement @clementval

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




More information about the All-commits mailing list