jhuber6 added a comment.

We should at least be able to `reinterpret_cast` between cases we know are 
compatible, as the OpenCL check does. One of the problems with the numerical 
address space is it doesn't have any information to know if that's strictly 
legal or not. I'm not sure if casting away an address space is always legal, 
it's generally what we do in LLVM-IR.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151087

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to