|
10 | 10 |
|
11 | 11 | ; CHECK-DAG: %[[#Int8:]] = OpTypeInt 8 0 |
12 | 12 | ; CHECK-DAG: %[[#Half:]] = OpTypeFloat 16 |
| 13 | +; CHECK-DAG: %[[#Float:]] = OpTypeFloat 32 |
13 | 14 | ; CHECK-DAG: %[[#Struct:]] = OpTypeStruct %[[#Half]] |
14 | 15 | ; CHECK-DAG: %[[#Void:]] = OpTypeVoid |
15 | 16 | ; CHECK-DAG: %[[#PtrInt8:]] = OpTypePointer CrossWorkgroup %[[#Int8:]] |
16 | 17 | ; CHECK-DAG: %[[#FooType:]] = OpTypeFunction %[[#Void]] %[[#PtrInt8]] %[[#Struct]] |
17 | 18 | ; CHECK-DAG: %[[#Int64:]] = OpTypeInt 64 0 |
18 | 19 | ; CHECK-DAG: %[[#PtrInt64:]] = OpTypePointer CrossWorkgroup %[[#Int64]] |
19 | 20 | ; CHECK-DAG: %[[#BarType:]] = OpTypeFunction %[[#Void]] %[[#PtrInt64]] %[[#Struct]] |
| 21 | +; CHECK-DAG: %[[#BazType:]] = OpTypeFunction %[[#Void]] %[[#PtrInt8]] %[[#Struct]] %[[#Int8]] %[[#Struct]] %[[#Float]] %[[#Struct]] |
20 | 22 | ; CHECK: OpFunction %[[#Void]] None %[[#FooType]] |
21 | 23 | ; CHECK: OpFunctionParameter %[[#PtrInt8]] |
22 | 24 | ; CHECK: OpFunctionParameter %[[#Struct]] |
23 | 25 | ; CHECK: OpFunction %[[#Void]] None %[[#BarType]] |
24 | 26 | ; CHECK: OpFunctionParameter %[[#PtrInt64]] |
25 | 27 | ; CHECK: OpFunctionParameter %[[#Struct]] |
| 28 | +; CHECK: OpFunction %[[#Void]] None %[[#BazType]] |
| 29 | +; CHECK: OpFunctionParameter %[[#PtrInt8]] |
| 30 | +; CHECK: OpFunctionParameter %[[#Struct]] |
| 31 | +; CHECK: OpFunctionParameter %[[#Int8]] |
| 32 | +; CHECK: OpFunctionParameter %[[#Struct]] |
| 33 | +; CHECK: OpFunctionParameter %[[#Float]] |
| 34 | +; CHECK: OpFunctionParameter %[[#Struct]] |
26 | 35 |
|
27 | 36 | %t_half = type { half } |
28 | 37 |
|
|
38 | 47 | ret void |
39 | 48 | } |
40 | 49 |
|
| 50 | +define spir_kernel void @baz(ptr addrspace(1) %a, %t_half %b, i8 %c, %t_half %d, float %e, %t_half %f) { |
| 51 | +entry: |
| 52 | + ret void |
| 53 | +} |
| 54 | + |
41 | 55 | declare spir_func %t_half @_Z29__spirv_SpecConstantComposite(half) |
0 commit comments