[PATCH] D96178: [OpenCL] Create VoidPtrTy with generic AS in C++ for OpenCL mode

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 11 02:36:35 PST 2021


Anastasia added a comment.

> Do I understand correctly that this means void pointer is not necessarily points to generic AS?

This is an internal Clang pointer type that is used in very few places as a pointer to anything, so it makes sense to add generic.

I agree this change actually fixes a bug i.e. missing generic address space for C++ mode. We should go ahead and commit it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96178



More information about the cfe-commits mailing list