[all-commits] [llvm/llvm-project] 477796: [Flang][OpenMP] Push genEval closer to leaf loweri...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Thu Jan 11 04:46:18 PST 2024


  Branch: refs/heads/users/kparzysz/spr/a05-complete-createBodyOfOp
  Home:   https://github.com/llvm/llvm-project
  Commit: 4777965c80726ddd92d2f65a2e91f6c0c830cbd8
      https://github.com/llvm/llvm-project/commit/4777965c80726ddd92d2f65a2e91f6c0c830cbd8
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2024-01-11 (Thu, 11 Jan 2024)

  Changed paths:
    M flang/lib/Lower/OpenMP.cpp

  Log Message:
  -----------
  [Flang][OpenMP] Push genEval closer to leaf lowering functions


  Commit: b1f6789a760ca596ea63cd46c4f673d8d3071567
      https://github.com/llvm/llvm-project/commit/b1f6789a760ca596ea63cd46c4f673d8d3071567
  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]


Compare: https://github.com/llvm/llvm-project/compare/4777965c8072%5E...b1f6789a760c


More information about the All-commits mailing list