[all-commits] [llvm/llvm-project] f49b6a: [flang][OpenMP] Handle lastprivate on sections con...

NimishMishra via All-commits all-commits at lists.llvm.org
Mon Feb 27 04:01:57 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f49b6afc231242dfee027d5da69734836097cd43
      https://github.com/llvm/llvm-project/commit/f49b6afc231242dfee027d5da69734836097cd43
  Author: Nimish Mishra <neelam.nimish at gmail.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M flang/lib/Lower/OpenMP.cpp
    M flang/test/Lower/OpenMP/sections.f90

  Log Message:
  -----------
  [flang][OpenMP] Handle lastprivate on sections construct

This patch adds support for lastprivate on sections construct.
One omp.sections operation can have several omp.section operation. As such, the privatization happens in the lexically last omp.section operation.

Reviewed By: kiranchandramohan, peixin

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




More information about the All-commits mailing list