================
@@ -460,6 +460,13 @@ class CIRGenModule : public CIRGenTypeCache {
getAddrOfConstantStringFromLiteral(const StringLiteral *s,
llvm::StringRef name = ".str");
+ /// Return the AST address space of constant literal, which is used to emit
+ /// the constant literal as global variable in CIR. This is not necessarily
+ /// the address space of the constant literal in AST. For address space
+ /// agnostic language, e.g. C++, constant literal in AST is always in the
+ /// default address space.
----------------
Fznamznon wrote:
That just copies CodeGenUtils, right? Maybe we should instead just say it is a
wrapper until SYCL support is in place.
https://github.com/llvm/llvm-project/pull/226996
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits