[PATCH] D141528: [Clang][OpenMP] Fix loop directed nested inside a parallel
Gheorghe-Teodor Bercea via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 11 11:17:22 PST 2023
doru1004 created this revision.
doru1004 added reviewers: ronl, carlo.bertolli, ABataev, jdoerfert, jhuber6, gregrodgers.
doru1004 added a project: OpenMP.
Herald added subscribers: guansong, yaxunl.
Herald added a project: All.
doru1004 requested review of this revision.
Herald added subscribers: cfe-commits, sstefan1.
Herald added a project: clang.
This patch fixes the case in which the loop directive is nested within a parallel directive. This patch ensures that the iteration variable has a valid var declaration in the local declare map when the for statement is emitted.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D141528
Files:
clang/lib/CodeGen/CGStmtOpenMP.cpp
clang/test/OpenMP/nested_loop_codegen.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141528.488299.patch
Type: text/x-patch
Size: 66259 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230111/6f75e876/attachment-0001.bin>
More information about the cfe-commits
mailing list