Skip to content

Commit ca22130

Browse files
committed
Add test
1 parent 167fd82 commit ca22130

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
; RUN: %dxv %s 2>&1 | FileCheck %s
2+
3+
; CHECK-NOT: uses a reserved prefix.
4+
; CHECK-NOT: Validation failed.
5+
6+
target datalayout = "e-m:e-p:32:32-i1:32-i8:8-i16:16-i32:32-i64:64-f16:16-f32:32-f64:64-n8:16:32:64"
7+
target triple = "dxil-ms-dx"
8+
9+
%dx.types.Handle = type { i8* }
10+
%dx.types.ResBind = type { i32, i32, i32, i8 }
11+
%dx.types.LinAlgMatrixC8M16N16U0S0 = type { i8* }
12+
%dx.types.ResourceProperties = type { i32, i32 }
13+
%struct.ByteAddressBuffer = type { i32 }
14+
15+
define void @main() {
16+
%1 = alloca %dx.types.LinAlgMatrixC8M16N16U0S0
17+
ret void
18+
}
19+
20+
!dx.targetTypes = !{!0}
21+
!llvm.ident = !{!1}
22+
!dx.version = !{!2}
23+
!dx.valver = !{!2}
24+
!dx.shaderModel = !{!3}
25+
!dx.resources = !{!4}
26+
!dx.entryPoints = !{!7}
27+
28+
!0 = !{%dx.types.LinAlgMatrixC8M16N16U0S0 undef, i32 8, i32 16, i32 16, i32 0, i32 0}
29+
!1 = !{!"dxc(private) 1.9.0.5348 (issue-8433, 167fd829e-dirty)"}
30+
!2 = !{i32 1, i32 10}
31+
!3 = !{!"cs", i32 6, i32 10}
32+
!4 = !{!5, null, null, null}
33+
!5 = !{!6}
34+
!6 = !{i32 0, %struct.ByteAddressBuffer* undef, !"", i32 0, i32 0, i32 1, i32 11, i32 0, null}
35+
!7 = !{void ()* @main, !"main", null, !4, !8}
36+
!8 = !{i32 0, i64 8388625, i32 4, !9}
37+
!9 = !{i32 8, i32 1, i32 1}

0 commit comments

Comments
 (0)