[llvm] [DirectX] Update resource type names in DXIL metadata to include element type (PR #140937)

Helena Kotas via llvm-commits llvm-commits at lists.llvm.org
Thu May 29 10:13:51 PDT 2025


================
@@ -11,22 +11,22 @@ define void @test() {
   ; Buffer<float4>
   %float4 = call target("dx.TypedBuffer", <4 x float>, 0, 0, 0)
       @llvm.dx.resource.handlefrombinding(i32 0, i32 0, i32 1, i32 0, i1 false, ptr @A.str)
-  ; CHECK: %TypedBuffer = type { <4 x float> }
+  ; CHECK: %"Buffer<float4>" = type { <4 x float> }
----------------
hekota wrote:

The quotes are there exactly because the '<''>' characters.

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


More information about the llvm-commits mailing list