[PATCH] D94315: [OpenMP][FIX] Enforce a function boundary for a new data environment
Johannes Doerfert via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 8 08:33:00 PST 2021
jdoerfert created this revision.
jdoerfert added reviewers: JonChesterfield, ABataev, sstefan1.
Herald added subscribers: guansong, bollu, yaxunl.
jdoerfert requested review of this revision.
Herald added a project: clang.
Whenever we enter a new OpenMP data environment we want to enter a
function to simplify reasoning. Later we probably want to remove the
entire specialization wrt. the if clause and pass the result to the
runtime, for now this should fix PR48686.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D94315
Files:
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
clang/test/OpenMP/parallel_if_codegen.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94315.315413.patch
Type: text/x-patch
Size: 5561 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210108/49ecf64a/attachment.bin>
More information about the cfe-commits
mailing list