[all-commits] [llvm/llvm-project] 17d9bd: [Flang][OpenMP] Add support for lastprivate clause...

arnamoy10 via All-commits all-commits at lists.llvm.org
Mon Jul 25 17:28:02 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 17d9bdf4601983491d2b6f28e2b6b5a36f2688c7
  Author: Arnamoy Bhattacharyya <arnamoy.bhattacharyya at huawei.com>
  Date:   2022-07-25 (Mon, 25 Jul 2022)

  Changed paths:
    M flang/include/flang/Lower/AbstractConverter.h
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Lower/OpenMP.cpp
    A flang/test/Lower/OpenMP/omp-parallel-lastprivate-clause-scalar.f90

  Log Message:
  [Flang][OpenMP] Add support for lastprivate clause for worksharing loop.

This patch adds an initial support to the lastprivate clause for worksharing loop.  The patch creates necessary control flow to guarantee the store of the value from the logical last iteration of the workshare loop.

Reviewed By: kiranchandramohan

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

More information about the All-commits mailing list