[clang] [llvm] [AMDGPU] Add a new builtin type for image descriptor rsrc (PR #160258)

Rana Pratap Reddy via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 24 07:43:03 PDT 2025


================
@@ -20,10 +20,17 @@
   AMDGPU_TYPE(Name, Id, SingletonId, Width, Align)
 #endif
 
+#ifndef AMDGPU_IMAGE_RSRC_TYPE
----------------
ranapratap55 wrote:

> #define AMDGPU_OPAQUE_PTR_TYPE(Name, Id, SingletonId, Width, Align, AS)

no requirement of AS for this, that is why I created a new macro.

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


More information about the cfe-commits mailing list