[all-commits] [llvm/llvm-project] 5bc6e7: [Flang][OpenMP] Add semantic checks for invalid br...

praveen-g-ctt via All-commits all-commits at lists.llvm.org
Wed Feb 3 02:59:31 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5bc6e75386e71129d3cbdcae6486a244a5301d54
      https://github.com/llvm/llvm-project/commit/5bc6e75386e71129d3cbdcae6486a244a5301d54
  Author: Praveen <praveen at compilertree.com>
  Date:   2021-02-03 (Wed, 03 Feb 2021)

  Changed paths:
    M flang/lib/Semantics/check-directive-structure.h
    M flang/lib/Semantics/check-omp-structure.cpp
    M flang/lib/Semantics/resolve-directives.cpp
    M flang/test/Semantics/omp-clause-validity01.f90
    A flang/test/Semantics/omp-do-cycle.f90
    M flang/test/Semantics/omp-do07.f90
    A flang/test/Semantics/omp-invalid-branch.f90
    A flang/test/Semantics/omp-parallel01.f90
    A flang/test/Semantics/omp-parallel02.f90
    R flang/test/Semantics/omp-parallell01.f90
    R flang/test/Semantics/omp-parallell02.f90
    M flang/test/Semantics/omp-simd01.f90
    M flang/test/Semantics/omp-task01.f90
    M flang/test/Semantics/omp-taskloop01.f90
    M flang/test/Semantics/omp-taskloop02.f90

  Log Message:
  -----------
  [Flang][OpenMP] Add semantic checks for invalid branches into or out of OpenMP constructs

OpenMP 4.5 - Check invalid branches into OpenMP strucutred blocks.
             Check invalid branches leaving OpenMP structured blocks.

Test cases : omp-do-cycle.f90, omp-invalid-branch.f90

Resolve related test cases marked as XFAIL

Reviewed By: kiranchandramohan

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




More information about the All-commits mailing list