[PATCH] D156816: [Clang] Make generic aliases to OpenCL address spaces

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 1 15:24:42 PDT 2023


Anastasia added a comment.

> We also are tied to OpenCL semantic of future versions.

This is what I would like to avoid aliasing to OpenCL and then starting to change it in a way that is not conforming or documented. Maybe there is a need for something like an address space for the group of related languages or something like that and also a way to derive and specialise from the class instead of forking and copying/pasting.

There were a number of proposals for similar things in the past including improvement to the target specific address spaces https://reviews.llvm.org/D62574.

If what we currently have is not good enough for all purposes perhaps it would make sense to start an RFC describing the problems and the requirements and then working out the solution that works for all the use cases.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156816/new/

https://reviews.llvm.org/D156816



More information about the cfe-commits mailing list