================ @@ -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">, ---------------- andykaylor wrote:
We seem not to have done anything about Joseph Huber's objection to the `offload_` prefix [here](https://discourse.llvm.org/t/rfc-clangir-unified-address-space-design-in-clangir/79728/9). Is there any reason not to just use `as_` as a prefix for all these values? https://github.com/llvm/llvm-project/pull/161028 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
