[clang] [llvm] [LLVMABI][AMDGPU] Add an AMDGPU target to the ABI library (PR #223259)

Arseniy Obolenskiy via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 17 01:13:45 PDT 2026


================
@@ -116,6 +123,29 @@ enum class AArch64ABIKind {
 LLVM_ABI std::unique_ptr<TargetInfo>
 createAArch64TargetInfo(TypeBuilder &TB, AArch64ABIKind Kind);
 
+/// The parts of the AMDGPU ABI that differ between amdgcn and the
+/// AMDGCN-flavoured SPIR-V that lowers to it. Address spaces are target
+/// address space numbers, not language address spaces.
+struct AMDGPUABIOptions {
----------------
aobolensk wrote:

simplified the struct, only 3 fields left: ConstantAddrSpace, GenericAddrSpace and CoerceKernelPointerArgs 

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


More information about the cfe-commits mailing list