[clang] [CIR][HIP][SPIR-V] Emit constant globals in addrspace(1) (PR #230813)

Arseniy Obolenskiy via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 12 00:50:25 PDT 2026


================
@@ -470,6 +470,8 @@ class CIRGenModule : public CIRGenTypeCache {
   /// space, which may lead to type mismatches in other parts of the IR.
   LangAS getLangTempAllocaAddressSpace() const;
 
+  mlir::ptr::MemorySpaceAttrInterface getGlobalCIRAddressSpace(LangAS as);
----------------
aobolensk wrote:

Done

https://github.com/llvm/llvm-project/pull/230813


More information about the cfe-commits mailing list