@@ -44,6 +44,19 @@ entry:
44
44
ret void
45
45
}
46
46
47
+ ; CHECK-SPIRV: CompositeConstruct [[#MatrixTypeFloat]] [[#MatrixIn:]] [[#]] {{$}}
48
+ ; CHECK-SPIRV: ConvertFToU [[#MatrixTypeInt32]] [[#]] [[#MatrixIn]]
49
+
50
+ ; CHECK-LLVM: %[[#Matrix:]] = call spir_func target("spirv.CooperativeMatrixKHR", float, 3, 12, 12, 2) @_Z26__spirv_CompositeConstructf(float 0.000000e+00)
51
+ ; CHECK-LLVM: call spir_func target("spirv.CooperativeMatrixKHR", i32, 3, 12, 12, 2) @_Z73__spirv_ConvertFToU_RPU3AS144__spirv_CooperativeMatrixKHR__uint_3_12_12_2PU3AS145__spirv_CooperativeMatrixKHR__float_3_12_12_2(target("spirv.CooperativeMatrixKHR", float, 3, 12, 12, 2) %[[#Matrix]])
52
+
53
+ define void @convert_f_to_u_no_fproundingmode () {
54
+ entry:
55
+ %0 = tail call spir_func noundef target ("spirv.CooperativeMatrixKHR" , float , 3 , 12 , 12 , 2 ) @_Z26__spirv_CompositeConstructFloat (float 0 .000000e+00 )
56
+ %call = call spir_func target ("spirv.CooperativeMatrixKHR" , i32 , 3 , 12 , 12 , 2 ) @_Z73__spirv_ConvertFToU_RPU3AS144__spirv_CooperativeMatrixKHR__uint_3_12_12_2PU3AS145__spirv_CooperativeMatrixKHR__float_3_12_12_2 (target ("spirv.CooperativeMatrixKHR" , float , 3 , 12 , 12 , 2 ) %0 )
57
+ ret void
58
+ }
59
+
47
60
; CHECK-SPIRV: CompositeConstruct [[#MatrixTypeFloat]] [[#MatrixIn:]] [[#]] {{$}}
48
61
; CHECK-SPIRV: ConvertFToS [[#MatrixTypeInt32]] [[#]] [[#MatrixIn]]
49
62
@@ -132,6 +145,8 @@ declare spir_func noundef target("spirv.CooperativeMatrixKHR", i16, 3, 12, 12, 2
132
145
133
146
declare spir_func noundef target ("spirv.CooperativeMatrixKHR" , i8 , 3 , 12 , 12 , 2 ) @_Z26__spirv_CompositeConstructInt8 (i8 noundef)
134
147
148
+ declare spir_func noundef target ("spirv.CooperativeMatrixKHR" , i32 , 3 , 12 , 12 , 2 ) @_Z73__spirv_ConvertFToU_RPU3AS144__spirv_CooperativeMatrixKHR__uint_3_12_12_2PU3AS145__spirv_CooperativeMatrixKHR__float_3_12_12_2 (target ("spirv.CooperativeMatrixKHR" , float , 3 , 12 , 12 , 2 ) noundef)
149
+
135
150
declare spir_func noundef target ("spirv.CooperativeMatrixKHR" , i32 , 3 , 12 , 12 , 2 ) @_Z77__spirv_ConvertFToU_RPU3AS144__spirv_CooperativeMatrixKHR__uint_3_12_12_2_rtpPU3AS145__spirv_CooperativeMatrixKHR__float_3_12_12_2 (target ("spirv.CooperativeMatrixKHR" , float , 3 , 12 , 12 , 2 ) noundef)
136
151
137
152
declare spir_func noundef target ("spirv.CooperativeMatrixKHR" , i32 , 3 , 12 , 12 , 2 ) @_Z77__spirv_ConvertFToS_RPU3AS144__spirv_CooperativeMatrixKHR__uint_3_12_12_2_rtpPU3AS145__spirv_CooperativeMatrixKHR__float_3_12_12_2 (target ("spirv.CooperativeMatrixKHR" , float , 3 , 12 , 12 , 2 ) noundef)
0 commit comments