[Openmp-commits] [PATCH] D144616: Skip generating this[:1] map info for non-member variable.
Jennifer Yu via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Feb 22 22:26:01 PST 2023
jyu2 created this revision.
jyu2 added reviewers: ABataev, mikerice, jdoerfert.
jyu2 added a project: OpenMP.
Herald added a project: All.
jyu2 requested review of this revision.
Herald added subscribers: openmp-commits, cfe-commits, sstefan1.
Herald added a project: clang.
This fix runtime problem due to generate this[:1] map info for non member variable.
To fix this check VD, if VD is not null, it is not member from current or base classes.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D144616
Files:
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/test/OpenMP/target_map_member_expr_codegen.cpp
openmp/libomptarget/test/mapping/target_map_for_member_data.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144616.499725.patch
Type: text/x-patch
Size: 27976 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230223/a01e1587/attachment-0001.bin>
More information about the Openmp-commits
mailing list