[all-commits] [llvm/llvm-project] 10c7b9: [OPENMP]Fix PR49115: Incorrect results for scan di...
cilkplus via All-commits
all-commits at lists.llvm.org
Fri Apr 16 06:26:57 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 10c7b9f64fa6c0257fe8a7f89123afb5e463ebda
https://github.com/llvm/llvm-project/commit/10c7b9f64fa6c0257fe8a7f89123afb5e463ebda
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2021-04-16 (Fri, 16 Apr 2021)
Changed paths:
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M clang/lib/Sema/SemaOpenMP.cpp
M clang/test/OpenMP/parallel_for_scan_codegen.cpp
M clang/test/OpenMP/parallel_for_simd_scan_codegen.cpp
Log Message:
-----------
[OPENMP]Fix PR49115: Incorrect results for scan directive.
For combined worksharing directives need to emit the temp arrays outside
of the parallel region and update them in the master thread only.
Differential Revision: https://reviews.llvm.org/D100187
More information about the All-commits
mailing list