File: spirv-version-controls-1.spt

package info (click to toggle)
spirv-llvm-translator-14 14.0.17-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 15,700 kB
  • sloc: cpp: 47,811; lisp: 3,704; sh: 153; python: 43; makefile: 41
file content (32 lines) | stat: -rw-r--r-- 734 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
119734787 67328 393230 12 0
2 Capability Addresses
2 Capability Kernel
5 ExtInstImport 1 "OpenCL.std"
3 MemoryModel 1 2
4 EntryPoint 6 6 "foo"
9 String 11 "kernel_arg_type.foo.int*,"
3 Source 3 102000
3 Name 7 "a"
4 Name 8 "entry"
4 Name 10 "a.addr"
4 Decorate 10 Alignment 4
4 TypeInt 3 32 0
2 TypeVoid 2
4 TypePointer 4 5 3
4 TypeFunction 5 2 4
4 TypePointer 9 7 4


5 Function 2 6 0 5
3 FunctionParameter 4 7

2 Label 8
4 Variable 9 10 7
5 Store 10 7 2 4
1 Return

1 FunctionEnd

; RUN: not llvm-spirv %s -to-binary -o - 2>&1 | FileCheck %s --check-prefix=CHECK-ERROR
;
; CHECK-ERROR: Invalid SPIR-V module: unsupported SPIR-V version number 'unknown (67328)'. Range of supported/known SPIR-V versions is 1.0 (65536) - 1.6 (67072)