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.
Paths
| Differential D144616
Skip generating this[:1] map info for non-member variable. ClosedPublic Authored by jyu2 on Feb 22 2023, 10:25 PM.
Details Summary 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.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 23 2023, 5:56 AM Closed by commit rG1b72a3276243: Skip using this[:1] map info for non-member variable. (authored by jyu2). · Explain WhyFeb 23 2023, 9:41 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 499900 clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/test/OpenMP/target_map_member_expr_codegen.cpp
openmp/libomptarget/test/mapping/target_map_for_member_data.cpp
|