[PATCH] D155870: [Clang][CodeGen] Another follow-up for `vtable`, `typeinfo` et al. are globals
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 26 07:39:53 PDT 2023
yaxunl added a comment.
`__dynamic_cast` is part of standard C++ library. If we ever implement it for GPU, chances are we will use libc++abi with the same signature as other targets, i.e., the 2nd and 3rd arguments are generic pointers.
I feel it is safer to do an address space cast when calling the function instead of changing its signature.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155870/new/
https://reviews.llvm.org/D155870
More information about the cfe-commits
mailing list