[all-commits] [llvm/llvm-project] d507e8: [flang][OpenMP] Fix firstprivate bug
arnamoy10 via All-commits
all-commits at lists.llvm.org
Mon Jul 11 05:56:58 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d507e8b70e4668f891d5df03f966c154cc4d5370
https://github.com/llvm/llvm-project/commit/d507e8b70e4668f891d5df03f966c154cc4d5370
Author: Arnamoy Bhattacharyya <arnamoy.bhattacharyya at huawei.com>
Date: 2022-07-11 (Mon, 11 Jul 2022)
Changed paths:
M flang/lib/Lower/Bridge.cpp
A flang/test/Lower/OpenMP/omp-parallel-wsloop-firstpriv.f90
Log Message:
-----------
[flang][OpenMP] Fix firstprivate bug
In case where the bound(s) of a workshare loop use(s) firstprivate var(s), currently, that use is not updated with the created clone. It still uses the shared variable. This patch fixes that.
Reviewed By: peixin
Differential Revision: https://reviews.llvm.org/D127137
More information about the All-commits
mailing list