[all-commits] [llvm/llvm-project] 6f4d46: [Flang][openmp][openacc] Extend CheckNoBranching t...

sameeranjoshi via All-commits all-commits at lists.llvm.org
Tue Jan 12 10:40:12 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f4d460762006af17826693abc1e7139a76aa1f2
      https://github.com/llvm/llvm-project/commit/6f4d460762006af17826693abc1e7139a76aa1f2
  Author: sameeran joshi <sameeranjayant.joshi at amd.com>
  Date:   2021-01-13 (Wed, 13 Jan 2021)

  Changed paths:
    M flang/lib/Semantics/check-directive-structure.h
    M flang/lib/Semantics/check-omp-structure.cpp
    M flang/test/Semantics/omp-parallell01.f90

  Log Message:
  -----------
  [Flang][openmp][openacc] Extend CheckNoBranching to handle branching provided by LabelEnforce.

`CheckNoBranching` is currently handling only illegal branching out for constructs
with `Parser::Name` in them.
Extend the same for handling illegal branching out caused by `Parser::Label` based statements.
This patch could possibly solve one of the issues(typically branching out) mentioned in D92735.

Reviewed By: kiranchandramohan

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




More information about the All-commits mailing list