[clang] [Clang] Update target parser for address spaces for AMDGPU (PR #175998)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 14 09:29:40 PST 2026


================
@@ -331,6 +340,8 @@ class PrototypeParser {
                                .Case("__float128", "LLd")
                                .Case("__fp16", "h")
                                .Case("__hlsl_resource_t", "Qr")
+                               .Case("__amdgpu_buffer_rsrc_t", "Qb")
+                               .Case("__amdgpu_texture_t", "Qt")
----------------
jhuber6 wrote:

No, I figured I'd just make all the emitter related changes here to simplify the other PR. These probably should've been handled anyway as they're listed in the documentation for the original `.def` file.

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


More information about the cfe-commits mailing list