[PATCH] D150746: [CodeGen]Translating pointer arguments can require an address space cast
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 17 12:00:25 PDT 2023
rjmccall added a comment.
Passing the VTT in the appropriate AS for global variables seems like the right way to go — we do know that that argument will always be such a pointer, so there's no point in converting to the generic address space.
For that matter, v-table pointer slots within classes should also be pointers into the global AS and not the generic AS. That's a separate issue, though.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150746/new/
https://reviews.llvm.org/D150746
More information about the cfe-commits
mailing list