[cfe-dev] [RFC] Re-use OpenCL address space attributes for SYCL

Bevin Hansson via cfe-dev cfe-dev at lists.llvm.org
Thu Aug 6 05:21:41 PDT 2020


>Treating the default address space as a superspace of some (all?) of the other address spaces is sensible and should definitely work.
>There are already predicates in the AST for deciding whether two address spaces are related this way; they probably need to be target-customizable, but that should be straightforward.

Just to chime in here; I have a patch for making address space relations target-configurable here: https://reviews.llvm.org/D62574 

/ Bevin

cfe-dev mailing list
cfe-dev at lists.llvm.org

More information about the cfe-dev mailing list