File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed
llvm/test/CodeGen/DirectX/Metadata Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,16 @@ define void @test() #0 {
7878
7979attributes #0 = { noinline nounwind "hlsl.shader" ="compute" }
8080
81+ ; CHECK: %TypedBuffer = type { <4 x half> }
82+ ; CHECK: %TypedBuffer.0 = type { <2 x float> }
83+ ; CHECK: %TypedBuffer.1 = type { double }
84+ ; CHECK: %TypedBuffer.2 = type { <4 x i32> }
85+ ; CHECK: %ByteAddressBuffer = type { i32 }
86+ ; CHECK: %StructuredBuffer = type { i16 }
87+ ; CHECK: %TypedBuffer.3 = type { i64 }
88+ ; CHECK: %TypedBuffer.4 = type { <4 x float> }
89+ ; CHECK: %TypedBuffer.5 = type { i64 }
90+
8191; CHECK: @Zero = external constant %TypedBuffer
8292; CHECK: @One = external constant %TypedBuffer.0
8393; CHECK: @Two = external constant %TypedBuffer.1
Original file line number Diff line number Diff line change @@ -95,6 +95,19 @@ define void @test() #0 {
9595
9696attributes #0 = { noinline nounwind "hlsl.shader" ="compute" }
9797
98+ ; CHECK: %RWTypedBuffer = type { <4 x half> }
99+ ; CHECK: %RWTypedBuffer.0 = type { <2 x float> }
100+ ; CHECK: %RWTypedBuffer.1 = type { double }
101+ ; CHECK: %RWTypedBuffer.2 = type { <4 x i32> }
102+ ; CHECK: %RWByteAddressBuffer = type { i32 }
103+ ; CHECK: %RWStructuredBuffer = type { i16 }
104+ ; CHECK: %RasterizerOrderedTypedBuffer = type { <4 x i32> }
105+ ; CHECK: %RasterizerOrderedStructuredBuffer = type { <4 x i32> }
106+ ; CHECK: %RasterizerOrderedByteAddressBuffer = type { i32 }
107+ ; CHECK: %RWTypedBuffer.3 = type { i64 }
108+ ; CHECK: %RWTypedBuffer.4 = type { <4 x float> }
109+ ; CHECK: %RWTypedBuffer.5 = type { i64 }
110+
98111; CHECK: @Zero = external constant %RWTypedBuffer
99112; CHECK: @One = external constant %RWTypedBuffer.0
100113; CHECK: @Two = external constant %RWTypedBuffer.1
You can’t perform that action at this time.
0 commit comments