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

Shilei Tian via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 24 06:57:49 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)                          \
----------------
shiltian wrote:

If you use existing macro, this code is not even needed.

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


More information about the cfe-commits mailing list