================
@@ -601,6 +601,28 @@ def CIR_VTableAttr : CIR_Attr<"VTable", "vtable", 
[TypedAttrInterface]> {
   }];
 }
 
+//===----------------------------------------------------------------------===//
+// TargetAddressSpaceAttr
+//===----------------------------------------------------------------------===//
+
+def CIR_TargetAddressSpaceAttr : CIR_Attr< "TargetAddressSpace",
+                                         "target_address_space"> {
+  let summary = "Attribute representing a target-specific numeric address 
space";
+  let description = [{
+    Represents a target-specific numeric address space for pointer types.
----------------
andykaylor wrote:

```suggestion
    The TargetAddressSpaceAttr represents a target-specific numeric address 
space,
    corresponding to the LLVM IR `addressspace` qualifier and the clang
     `address_space` attribute.
    
    A value of zero represents the default address space. The semantics of 
non-zero
    address spaces are target-specific.
```

https://github.com/llvm/llvm-project/pull/161028
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to