[PATCH] D105143: [OPENMP]Fix PR50929: Ignored initializer clause in user-defined reduction.
Alexey Bataev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 29 12:36:31 PDT 2021
ABataev created this revision.
ABataev added reviewers: mikerice, jdoerfert.
Herald added subscribers: guansong, yaxunl.
ABataev requested review of this revision.
Herald added a subscriber: sstefan1.
Herald added a project: clang.
No need to try to create the default constructor for private copy, it
will be called automatically in the initializer of the declare
reduction. Fixes balance between constructors/destructors calls.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D105143
Files:
clang/lib/Sema/SemaOpenMP.cpp
clang/test/OpenMP/for_reduction_codegen_UDR.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105143.355334.patch
Type: text/x-patch
Size: 194945 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210629/fcbffe44/attachment-0001.bin>
More information about the cfe-commits
mailing list