[all-commits] [llvm/llvm-project] c030f4: [Flang][OpenMP] Avoid double privatisation of loop...
kiranchandramohan via All-commits
all-commits at lists.llvm.org
Mon Jun 13 09:35:27 PDT 2022
Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
Date: 2022-06-13 (Mon, 13 Jun 2022)
[Flang][OpenMP] Avoid double privatisation of loop variables
Loop variables of a worksharing loop and sequential loops in parallel
region are privatised by default. These variables are marked with
OmpPreDetermined. Skip explicit privatisation of these variables.
Note: This is part of upstreaming from the fir-dev branch of
Reviewed By: Leporacanthicus
Differential Revision: https://reviews.llvm.org/D127249
Co-authored-by: Jean Perier <jperier at nvidia.com>
Co-authored-by: Mats Petersson <mats.petersson at arm.com>
More information about the All-commits