[all-commits] [llvm/llvm-project] 07e16a: [Flang][OpenMP] Add implementation of privatisation
kiranchandramohan via All-commits
all-commits at lists.llvm.org
Mon Apr 11 02:20:52 PDT 2022
Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
Date: 2022-04-11 (Mon, 11 Apr 2022)
[Flang][OpenMP] Add implementation of privatisation
Privatisation creates local copies of variables in the OpenMP region.
Two functions `createHostAssociateVarClone` and `copyHostAssociateVar`
are added to create a clone of the variable for basic privatisation and to
copy the contents for first-privatisation.
Note: Tests for more data-types will be added when the fir.do_loop is
This is part of the upstreaming effort from the fir-dev branch in .
Reviewed By: peixin, NimishMishra
Differential Revision: https://reviews.llvm.org/D122595
Co-authored-by: Jean Perier <jperier at nvidia.com>
Co-authored-by: Eric Schweitz <eschweitz at nvidia.com>
Co-authored-by: Peter Klausler <pklausler at nvidia.com>
Co-authored-by: Valentin Clement <clementval at gmail.com>
Co-authored-by: Sourabh Singh Tomar <SourabhSingh.Tomar at amd.com>
Co-authored-by: Nimish Mishra <neelam.nimish at gmail.com>
Co-authored-by: Peixin-Qiao <qiaopeixin at huawei.com>
More information about the All-commits