[all-commits] [llvm/llvm-project] 848ae1: [Flang][OpenMP] Finalize Statement context of clau...

Kiran Chandramohan via All-commits all-commits at lists.llvm.org
Thu Nov 9 06:22:34 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 848ae10cd2828a4846c191d9bebdd7ccb5441c4b
      https://github.com/llvm/llvm-project/commit/848ae10cd2828a4846c191d9bebdd7ccb5441c4b
  Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
  Date:   2023-11-09 (Thu, 09 Nov 2023)

  Changed paths:
    M flang/lib/Lower/OpenMP.cpp
    A flang/test/Lower/OpenMP/parallel-if.f90

  Log Message:
  -----------
  [Flang][OpenMP] Finalize Statement context of clauses before op creation (#71679)

Currently Statement context used during processing of clauses is
finalized after the OpenMP operation creation. This causes the
finalization to go inside the OpenMP region and this can lead to
multiple finalizations in a parallel region. This fix proposes to
finalize them before the OpenMP op creation.

Fixes #71342




More information about the All-commits mailing list