[all-commits] [llvm/llvm-project] 000003: Revert "[Flang][OpenMP] Add semantic check for Ope...

kiranchandramohan via All-commits all-commits at lists.llvm.org
Sun Apr 3 08:54:41 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0000030b18c1e60e5e4f7444e30694bac9ffc14e
      https://github.com/llvm/llvm-project/commit/0000030b18c1e60e5e4f7444e30694bac9ffc14e
  Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
  Date:   2022-04-03 (Sun, 03 Apr 2022)

  Changed paths:
    M flang/lib/Semantics/resolve-directives.cpp
    R flang/test/Semantics/omp-private03.f90

  Log Message:
  -----------
  Revert "[Flang][OpenMP] Add semantic check for OpenMP Private, Firstprivate and Lastprivate clauses."

This reverts commit a2ca6bbda6160c1b474fffd6204bcac9456c7eb1.

D93213 performs some checks to ensure that variables that appear in
statement functions are not in privatisation clauses. The point at
which this check is currently performed, there can be misparses that
cause more constructs to be identified as statement functions. This
can lead to various kinds of errors, hence reverting.

This revert hopefully fixes:
https://github.com/llvm/llvm-project/issues/54477
https://github.com/llvm/llvm-project/issues/54161
https://github.com/llvm/llvm-project/issues/54163

Reviewed By: shraiysh

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




More information about the All-commits mailing list