[clang] [CIR] Upstream `AddressSpace` support for `PointerType` (PR #161028)
Bruno Cardoso Lopes via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 3 11:59:04 PDT 2025
================
@@ -35,4 +35,28 @@ class CIR_DefaultValuedEnumParameter<EnumAttrInfo info, string value = "">
let defaultValue = value;
}
+def CIR_AddressSpace : CIR_I32EnumAttr<
+ "AddressSpace", "address space kind", [
+ I32EnumAttrCase<"Default", 0, "default">,
+ I32EnumAttrCase<"OffloadPrivate", 1, "offload_private">,
----------------
bcardosolopes wrote:
Good point from Andy. Seems like this is no more part of this PR, so maybe it's a future discussion!
https://github.com/llvm/llvm-project/pull/161028
More information about the cfe-commits
mailing list