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 33
|
119734787 65536 393230 12 0
2 Capability Addresses
2 Capability Kernel
2 Capability Int64
5 ExtInstImport 1 "OpenCL.std"
3 MemoryModel 2 2
10 EntryPoint 6 4 "_ZTSZ4mainE11fake_kernel"
13 String 11 "kernel_arg_type._ZTSZ4mainE11fake_kernel."
3 Source 4 100000
4 Name 5 "entry"
6 Name 10 "call2.i.i.i.i"
4 TypeInt 6 32 0
4 TypeInt 9 64 0
4 Constant 6 7 0
4 Constant 6 8 1
2 TypeVoid 2
3 TypeFunction 3 2
5 Function 2 4 0 3
2 Label 5
7 ExtInst 9 10 1 s_upsample 7 8
1 Return
1 FunctionEnd
; RUN: llvm-spirv %s -to-binary -o %t.spv
; RUN: spirv-val %t.spv
; RUN: llvm-spirv -r %t.spv -o %t.bc
; RUN: llvm-dis < %t.bc | FileCheck %s --check-prefix=CHECK-LLVM
; CHECK-LLVM: upsampleij
|