[all-commits] [llvm/llvm-project] 29dffb: Add Semantic check for Flang OpenMP 4.5 - 2.7.1 or...

YashaswiniHegde via All-commits all-commits at lists.llvm.org
Sun Nov 22 05:14:33 PST 2020


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

  Changed paths:
    M flang/lib/Semantics/resolve-directives.cpp
    A flang/test/Semantics/omp-do-collapse-positivecases.f90
    A flang/test/Semantics/omp-do-collapse.f90
    A flang/test/Semantics/omp-do-ordered-positivecases.f90
    A flang/test/Semantics/omp-do-ordered.f90

  Log Message:
  -----------
  Add Semantic check for Flang OpenMP 4.5 - 2.7.1 ordered and collapse clause

Semantic check added to check and restrict the value of the parameter in the COLLAPSE or ORDERED clause
if it is larger than the number of nested loops following the construct.

Test Cases:
omp-do-collapse-positivecases.f90
omp-do-collapse.f90
omp-do-ordered-positivecases.f90
omp-do-ordered.f90

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

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




More information about the All-commits mailing list