[all-commits] [llvm/llvm-project] 5789bc: [Flang][OpenMP] Fix when the toplevel unit is pres...

kiranchandramohan via All-commits all-commits at lists.llvm.org
Tue Feb 21 08:02:19 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5789bcc92e93ae54ce9253c12f2b2850cc3501dd
      https://github.com/llvm/llvm-project/commit/5789bcc92e93ae54ce9253c12f2b2850cc3501dd
  Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    M flang/lib/Semantics/check-omp-structure.cpp
    M flang/test/Semantics/OpenMP/omp-declare-target03.f90

  Log Message:
  -----------
  [Flang][OpenMP] Fix when the toplevel unit is present in declare target

If the toplevel unit is present in a declare target construct, do not
try to again find the enclosing construct.
Patch also re-arranges the checks.

Reviewed By: peixin

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




More information about the All-commits mailing list