[all-commits] [llvm/llvm-project] a176ff: Add Semantic check for Flang OpenMP 4.5 - 2.7.1 D...

Yashaswini Hegde via All-commits all-commits at lists.llvm.org
Thu Jan 14 05:14:59 PST 2021


  Branch: refs/heads/maste
  Home:   https://github.com/llvm/llvm-project
  Commit: a176ffa6248a37a84439cc311e7faf60f17ea78c
      https://github.com/llvm/llvm-project/commit/a176ffa6248a37a84439cc311e7faf60f17ea78c
  Author: Yashaswini <yhegde at gmail.com>
  Date:   2021-01-14 (Thu, 14 Jan 2021)

  Changed paths:
    M flang/lib/Semantics/check-directive-structure.h
    M flang/lib/Semantics/check-omp-structure.cpp
    M flang/lib/Semantics/check-omp-structure.h
    A flang/test/Semantics/omp-do01-positivecase.f90
    M flang/test/Semantics/omp-do01.f90
    A flang/test/Semantics/omp-do05-positivecase.f90
    M flang/test/Semantics/omp-do05.f90

  Log Message:
  -----------
  Add Semantic check for Flang OpenMP 4.5 - 2.7.1  Do Loop restrictions on single directive and firstprivate clause.

Semantic checks added to check the worksharing 'single' region closely nested inside a worksharing 'do' region. And also to check whether the DO iteration variable is a variable in Firstprivate clause.

Files:
check-directive-structure.h
check-omp-structure.h
check-omp-structure.cpp

Testcases:
omp-do01-positivecase.f90
omp-do01.f90
omp-do05-positivecase.f90
omp-do05.f90

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

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




More information about the All-commits mailing list