[all-commits] [llvm/llvm-project] 55cb52: [Flang][OpenMP] Restructure recursive lowering in ...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Mon Jan 22 06:41:19 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 55cb52bbc539777aeb176f22fef0b4bfc70883fc
      https://github.com/llvm/llvm-project/commit/55cb52bbc539777aeb176f22fef0b4bfc70883fc
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2024-01-22 (Mon, 22 Jan 2024)

  Changed paths:
    M flang/include/flang/Lower/OpenMP.h
    M flang/lib/Lower/OpenMP.cpp
    M flang/test/Lower/OpenMP/FIR/sections.f90
    A flang/test/Lower/OpenMP/infinite-loop-in-construct.f90
    M flang/test/Lower/OpenMP/sections.f90
    A flang/test/Lower/OpenMP/wsloop-unstructured.f90

  Log Message:
  -----------
  [Flang][OpenMP] Restructure recursive lowering in `createBodyOfOp` (#77761)

This brings `createBodyOfOp` to its final intended form. First, input
privatization is performed, then the recursive lowering takes place, and
finally the output privatization (lastprivate) is done.

This enables fixing a known issue with infinite loops inside of an
OpenMP region, and the fix is included in this patch.

Fixes https://github.com/llvm/llvm-project/issues/74348.

Recursive lowering [5/5]

---------

Co-authored-by: Kiran Chandramohan <kiran.chandramohan at arm.com>




More information about the All-commits mailing list