[PATCH] D83334: [OPENMP]Fix PR46593: Reduction initializer missing construnctor call.
Alexey Bataev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 7 12:02:51 PDT 2020
ABataev created this revision.
ABataev added a reviewer: jdoerfert.
Herald added subscribers: guansong, yaxunl.
Herald added a project: clang.
If user-defined reductions with the initializer are used with classes,
wthe compiler misses the constructor call whe trying to create a private
copy of the reduction variable.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D83334
Files:
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/lib/Sema/SemaOpenMP.cpp
clang/test/OpenMP/for_reduction_codegen_UDR.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83334.276168.patch
Type: text/x-patch
Size: 5118 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200707/fd0e531a/attachment.bin>
More information about the cfe-commits
mailing list