[all-commits] [llvm/llvm-project] 39665d: 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 22:21:41 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 39665d9aabb7cd92d58f8ba45b32a1899922ec01
      https://github.com/llvm/llvm-project/commit/39665d9aabb7cd92d58f8ba45b32a1899922ec01
  Author: Yashaswini <yhegde at gmail.com>
  Date:   2021-01-15 (Fri, 15 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