[all-commits] [llvm/llvm-project] 1b72a3: Skip using this[:1] map info for non-member variable.
jyu2-git via All-commits
all-commits at lists.llvm.org
Thu Feb 23 09:41:19 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1b72a32762436aad1b7064a8d44681300fd8e380
https://github.com/llvm/llvm-project/commit/1b72a32762436aad1b7064a8d44681300fd8e380
Author: Jennifer Yu <jennifer.yu at intel.com>
Date: 2023-02-23 (Thu, 23 Feb 2023)
Changed paths:
M clang/lib/CodeGen/CGOpenMPRuntime.cpp
M clang/test/OpenMP/target_map_member_expr_codegen.cpp
M openmp/libomptarget/test/mapping/target_map_for_member_data.cpp
Log Message:
-----------
Skip using this[:1] map info for non-member variable.
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.
Differential Revision: https://reviews.llvm.org/D144616
More information about the All-commits
mailing list