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

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Thu Jan 11 05:19:53 PST 2024


  Branch: refs/heads/users/kparzysz/spr/a05-complete-createBodyOfOp
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b5524ae8874e389d373a55417919afa56beb2b5
      https://github.com/llvm/llvm-project/commit/1b5524ae8874e389d373a55417919afa56beb2b5
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2024-01-11 (Thu, 11 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

  Log Message:
  -----------
  [Flang][OpenMP] Restructure recursive lowering in `createBodyOfOp`

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]




More information about the All-commits mailing list