Anastasia added a comment.

In the RFC it has been discussed to either use target address spaces or perhaps 
to introduce a new attribute to reflect a semantic needed for SYCL, but it 
seems to me in this change you are building on top of the existing language 
address space attribute with new entries for SYCL.

http://lists.llvm.org/pipermail/cfe-dev/2020-August/066632.html

Has there been any other discussion regarding the appraoch which is not 
captured in the cfe-dev thread I have linked?



================
Comment at: clang/lib/CodeGen/CGExpr.cpp:4554
+
+      // Language rules define if it is legal to cast from one address space
+      // to another, and which address space we should use as a "common
----------------
What language rules?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89909

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

Reply via email to