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

Rana Pratap Reddy via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 26 12:21:48 PDT 2025


================
@@ -1020,6 +1020,14 @@ llvm::DIType *CGDebugInfo::CreateType(const BuiltinType *BT) {
           DBuilder.createBasicType(Name, Width, llvm::dwarf::DW_ATE_unsigned); \
     return SingletonId;                                                        \
   }
+#define AMDGPU_IMAGE_RSRC_TYPE(Name, Id, SingletonId)                          \
+  case BuiltinType::Id: {                                                      \
+    if (!SingletonId)                                                          \
----------------
ranapratap55 wrote:

updated.

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


More information about the llvm-commits mailing list