| 1 |
119734787 65536 393230 11 0 |
| 2 |
2 Capability Addresses |
| 3 |
0 Capability |
| 4 |
2 Capability Kernel |
| 5 |
5 ExtInstImport 1 "OpenCL.std" |
| 6 |
3 MemoryModel 2 2 |
| 7 |
6 EntryPoint 6 5 "fmod_kernel" |
| 8 |
3 Source 3 200000 |
| 9 |
3 Name 6 "out" |
| 10 |
3 Name 7 "in1" |
| 11 |
3 Name 8 "in2" |
| 12 |
4 Name 9 "entry" |
| 13 |
4 Name 10 "call" |
| 14 |
2 TypeVoid 2 |
| 15 |
3 TypeFloat 3 32 |
| 16 |
6 TypeFunction 4 2 3 3 3 |
| 17 |
0 Nop |
| 18 |
|
| 19 |
5 Function 2 5 0 4 |
| 20 |
3 FunctionParameter 3 6 |
| 21 |
3 FunctionParameter 3 7 |
| 22 |
3 FunctionParameter 3 8 |
| 23 |
|
| 24 |
2 Label 9 |
| 25 |
7 ExtInst 3 10 1 fmod 7 8 |
| 26 |
1 Return |
| 27 |
|
| 28 |
1 FunctionEnd |
| 29 |
|
| 30 |
|
| 31 |
; RUN: llvm-spirv %s -to-binary -o %t.spv |
| 32 |
; RUN: spirv-val %t.spv |
| 33 |
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o %t.bc |
| 34 |
|