[spirv-reader] Remove E2E test we do not plan to support
This is generating very deeply nested control flow. It may be possible
to work around this by changing the way we handle certain branches
inside loop bodies, but we can deal with that if it ever comes up in a
real case.
Fixed: 429625133
No-Try: true
Change-Id: Iab36c498299674a44ec860c46537c050541791d4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/251515
Auto-Submit: James Price <jrprice@google.com>
Commit-Queue: dan sinclair <dsinclair@chromium.org>
Reviewed-by: dan sinclair <dsinclair@chromium.org>
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-multiple-one-iteration-loops-global-counter-write-matrices/0-opt.spvasm b/test/tint/vk-gl-cts/graphicsfuzz/cov-multiple-one-iteration-loops-global-counter-write-matrices/0-opt.spvasm
deleted file mode 100644
index e63a57e..0000000
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-multiple-one-iteration-loops-global-counter-write-matrices/0-opt.spvasm
+++ /dev/null
@@ -1,940 +0,0 @@
- OpCapability Shader
- %1 = OpExtInstImport "GLSL.std.450"
- OpMemoryModel Logical GLSL450
- OpEntryPoint Fragment %main "main" %_GLF_color
- OpExecutionMode %main OriginUpperLeft
- OpSource ESSL 320
- OpName %main "main"
- OpName %_GLF_global_loop_count "_GLF_global_loop_count"
- OpName %m23 "m23"
- OpName %m24 "m24"
- OpName %m32 "m32"
- OpName %m33 "m33"
- OpName %m34 "m34"
- OpName %m42 "m42"
- OpName %m43 "m43"
- OpName %m44 "m44"
- OpName %i "i"
- OpName %i_0 "i"
- OpName %i_1 "i"
- OpName %i_2 "i"
- OpName %i_3 "i"
- OpName %i_4 "i"
- OpName %i_5 "i"
- OpName %i_6 "i"
- OpName %i_7 "i"
- OpName %i_8 "i"
- OpName %i_9 "i"
- OpName %i_10 "i"
- OpName %i_11 "i"
- OpName %i_12 "i"
- OpName %i_13 "i"
- OpName %i_14 "i"
- OpName %i_15 "i"
- OpName %i_16 "i"
- OpName %i_17 "i"
- OpName %i_18 "i"
- OpName %i_19 "i"
- OpName %i_20 "i"
- OpName %i_21 "i"
- OpName %i_22 "i"
- OpName %i_23 "i"
- OpName %i_24 "i"
- OpName %i_25 "i"
- OpName %i_26 "i"
- OpName %i_27 "i"
- OpName %i_28 "i"
- OpName %i_29 "i"
- OpName %i_30 "i"
- OpName %i_31 "i"
- OpName %i_32 "i"
- OpName %i_33 "i"
- OpName %i_34 "i"
- OpName %i_35 "i"
- OpName %i_36 "i"
- OpName %sum "sum"
- OpName %r "r"
- OpName %_GLF_color "_GLF_color"
- OpDecorate %_GLF_color Location 0
- %void = OpTypeVoid
- %54 = OpTypeFunction %void
- %int = OpTypeInt 32 1
-%_ptr_Private_int = OpTypePointer Private %int
-%_GLF_global_loop_count = OpVariable %_ptr_Private_int Private
- %int_0 = OpConstant %int 0
- %float = OpTypeFloat 32
- %v3float = OpTypeVector %float 3
-%mat2v3float = OpTypeMatrix %v3float 2
-%_ptr_Function_mat2v3float = OpTypePointer Function %mat2v3float
- %float_0 = OpConstant %float 0
- %63 = OpConstantComposite %v3float %float_0 %float_0 %float_0
- %64 = OpConstantComposite %mat2v3float %63 %63
- %v4float = OpTypeVector %float 4
-%mat2v4float = OpTypeMatrix %v4float 2
-%_ptr_Function_mat2v4float = OpTypePointer Function %mat2v4float
- %68 = OpConstantComposite %v4float %float_0 %float_0 %float_0 %float_0
- %69 = OpConstantComposite %mat2v4float %68 %68
- %v2float = OpTypeVector %float 2
-%mat3v2float = OpTypeMatrix %v2float 3
-%_ptr_Function_mat3v2float = OpTypePointer Function %mat3v2float
- %73 = OpConstantComposite %v2float %float_0 %float_0
- %74 = OpConstantComposite %mat3v2float %73 %73 %73
-%mat3v3float = OpTypeMatrix %v3float 3
-%_ptr_Function_mat3v3float = OpTypePointer Function %mat3v3float
- %77 = OpConstantComposite %mat3v3float %63 %63 %63
-%mat3v4float = OpTypeMatrix %v4float 3
-%_ptr_Function_mat3v4float = OpTypePointer Function %mat3v4float
- %80 = OpConstantComposite %mat3v4float %68 %68 %68
-%mat4v2float = OpTypeMatrix %v2float 4
-%_ptr_Function_mat4v2float = OpTypePointer Function %mat4v2float
- %83 = OpConstantComposite %mat4v2float %73 %73 %73 %73
-%mat4v3float = OpTypeMatrix %v3float 4
-%_ptr_Function_mat4v3float = OpTypePointer Function %mat4v3float
- %86 = OpConstantComposite %mat4v3float %63 %63 %63 %63
-%mat4v4float = OpTypeMatrix %v4float 4
-%_ptr_Function_mat4v4float = OpTypePointer Function %mat4v4float
- %89 = OpConstantComposite %mat4v4float %68 %68 %68 %68
-%_ptr_Function_int = OpTypePointer Function %int
- %int_1 = OpConstant %int 1
- %bool = OpTypeBool
- %int_98 = OpConstant %int 98
- %float_1 = OpConstant %float 1
-%_ptr_Function_float = OpTypePointer Function %float
- %int_100 = OpConstant %int 100
- %float_8 = OpConstant %float 8
-%_ptr_Output_v4float = OpTypePointer Output %v4float
- %_GLF_color = OpVariable %_ptr_Output_v4float Output
- %99 = OpConstantComposite %v4float %float_1 %float_0 %float_0 %float_1
- %main = OpFunction %void None %54
- %100 = OpLabel
- %m23 = OpVariable %_ptr_Function_mat2v3float Function
- %m24 = OpVariable %_ptr_Function_mat2v4float Function
- %m32 = OpVariable %_ptr_Function_mat3v2float Function
- %m33 = OpVariable %_ptr_Function_mat3v3float Function
- %m34 = OpVariable %_ptr_Function_mat3v4float Function
- %m42 = OpVariable %_ptr_Function_mat4v2float Function
- %m43 = OpVariable %_ptr_Function_mat4v3float Function
- %m44 = OpVariable %_ptr_Function_mat4v4float Function
- %i = OpVariable %_ptr_Function_int Function
- %i_0 = OpVariable %_ptr_Function_int Function
- %i_1 = OpVariable %_ptr_Function_int Function
- %i_2 = OpVariable %_ptr_Function_int Function
- %i_3 = OpVariable %_ptr_Function_int Function
- %i_4 = OpVariable %_ptr_Function_int Function
- %i_5 = OpVariable %_ptr_Function_int Function
- %i_6 = OpVariable %_ptr_Function_int Function
- %i_7 = OpVariable %_ptr_Function_int Function
- %i_8 = OpVariable %_ptr_Function_int Function
- %i_9 = OpVariable %_ptr_Function_int Function
- %i_10 = OpVariable %_ptr_Function_int Function
- %i_11 = OpVariable %_ptr_Function_int Function
- %i_12 = OpVariable %_ptr_Function_int Function
- %i_13 = OpVariable %_ptr_Function_int Function
- %i_14 = OpVariable %_ptr_Function_int Function
- %i_15 = OpVariable %_ptr_Function_int Function
- %i_16 = OpVariable %_ptr_Function_int Function
- %i_17 = OpVariable %_ptr_Function_int Function
- %i_18 = OpVariable %_ptr_Function_int Function
- %i_19 = OpVariable %_ptr_Function_int Function
- %i_20 = OpVariable %_ptr_Function_int Function
- %i_21 = OpVariable %_ptr_Function_int Function
- %i_22 = OpVariable %_ptr_Function_int Function
- %i_23 = OpVariable %_ptr_Function_int Function
- %i_24 = OpVariable %_ptr_Function_int Function
- %i_25 = OpVariable %_ptr_Function_int Function
- %i_26 = OpVariable %_ptr_Function_int Function
- %i_27 = OpVariable %_ptr_Function_int Function
- %i_28 = OpVariable %_ptr_Function_int Function
- %i_29 = OpVariable %_ptr_Function_int Function
- %i_30 = OpVariable %_ptr_Function_int Function
- %i_31 = OpVariable %_ptr_Function_int Function
- %i_32 = OpVariable %_ptr_Function_int Function
- %i_33 = OpVariable %_ptr_Function_int Function
- %i_34 = OpVariable %_ptr_Function_int Function
- %i_35 = OpVariable %_ptr_Function_int Function
- %i_36 = OpVariable %_ptr_Function_int Function
- %sum = OpVariable %_ptr_Function_float Function
- %r = OpVariable %_ptr_Function_int Function
- OpStore %_GLF_global_loop_count %int_0
- OpStore %m23 %64
- OpStore %m24 %69
- OpStore %m32 %74
- OpStore %m33 %77
- OpStore %m34 %80
- OpStore %m42 %83
- OpStore %m43 %86
- OpStore %m44 %89
- OpStore %i %int_0
- OpBranch %101
- %101 = OpLabel
- OpLoopMerge %102 %103 None
- OpBranch %104
- %104 = OpLabel
- %105 = OpLoad %int %i
- %106 = OpSLessThan %bool %105 %int_1
- OpBranchConditional %106 %107 %102
- %107 = OpLabel
- OpStore %i_0 %int_0
- OpBranch %108
- %108 = OpLabel
- OpLoopMerge %109 %110 None
- OpBranch %111
- %111 = OpLabel
- %112 = OpLoad %int %i_0
- %113 = OpSLessThan %bool %112 %int_1
- OpBranchConditional %113 %114 %109
- %114 = OpLabel
- OpStore %i_1 %int_0
- OpBranch %115
- %115 = OpLabel
- OpLoopMerge %116 %117 None
- OpBranch %118
- %118 = OpLabel
- %119 = OpLoad %int %i_1
- %120 = OpSLessThan %bool %119 %int_1
- OpBranchConditional %120 %121 %116
- %121 = OpLabel
- OpStore %i_2 %int_0
- OpBranch %122
- %122 = OpLabel
- OpLoopMerge %123 %124 None
- OpBranch %125
- %125 = OpLabel
- %126 = OpLoad %int %i_2
- %127 = OpSLessThan %bool %126 %int_1
- OpBranchConditional %127 %128 %123
- %128 = OpLabel
- OpStore %i_3 %int_0
- OpBranch %129
- %129 = OpLabel
- OpLoopMerge %130 %131 None
- OpBranch %132
- %132 = OpLabel
- %133 = OpLoad %int %i_3
- %134 = OpSLessThan %bool %133 %int_1
- OpBranchConditional %134 %135 %130
- %135 = OpLabel
- OpStore %i_4 %int_0
- OpBranch %136
- %136 = OpLabel
- OpLoopMerge %137 %138 None
- OpBranch %139
- %139 = OpLabel
- %140 = OpLoad %int %i_4
- %141 = OpSLessThan %bool %140 %int_1
- OpBranchConditional %141 %142 %137
- %142 = OpLabel
- OpStore %i_5 %int_0
- OpBranch %143
- %143 = OpLabel
- OpLoopMerge %144 %145 None
- OpBranch %146
- %146 = OpLabel
- %147 = OpLoad %int %i_5
- %148 = OpSLessThan %bool %147 %int_1
- OpBranchConditional %148 %149 %144
- %149 = OpLabel
- OpStore %i_6 %int_0
- OpBranch %150
- %150 = OpLabel
- OpLoopMerge %151 %152 None
- OpBranch %153
- %153 = OpLabel
- %154 = OpLoad %int %i_6
- %155 = OpSLessThan %bool %154 %int_1
- OpBranchConditional %155 %156 %151
- %156 = OpLabel
- OpStore %i_7 %int_0
- OpBranch %157
- %157 = OpLabel
- OpLoopMerge %158 %159 None
- OpBranch %160
- %160 = OpLabel
- %161 = OpLoad %int %i_7
- %162 = OpSLessThan %bool %161 %int_1
- OpBranchConditional %162 %163 %158
- %163 = OpLabel
- OpStore %i_8 %int_0
- OpBranch %164
- %164 = OpLabel
- OpLoopMerge %165 %166 None
- OpBranch %167
- %167 = OpLabel
- %168 = OpLoad %int %i_8
- %169 = OpSLessThan %bool %168 %int_1
- OpBranchConditional %169 %170 %165
- %170 = OpLabel
- OpStore %i_9 %int_0
- OpBranch %171
- %171 = OpLabel
- OpLoopMerge %172 %173 None
- OpBranch %174
- %174 = OpLabel
- %175 = OpLoad %int %i_9
- %176 = OpSLessThan %bool %175 %int_1
- OpBranchConditional %176 %177 %172
- %177 = OpLabel
- OpStore %i_10 %int_0
- OpBranch %178
- %178 = OpLabel
- OpLoopMerge %179 %180 None
- OpBranch %181
- %181 = OpLabel
- %182 = OpLoad %int %i_10
- %183 = OpSLessThan %bool %182 %int_1
- OpBranchConditional %183 %184 %179
- %184 = OpLabel
- OpStore %i_11 %int_0
- OpBranch %185
- %185 = OpLabel
- OpLoopMerge %186 %187 None
- OpBranch %188
- %188 = OpLabel
- %189 = OpLoad %int %i_11
- %190 = OpSLessThan %bool %189 %int_1
- OpBranchConditional %190 %191 %186
- %191 = OpLabel
- OpStore %i_12 %int_0
- OpBranch %192
- %192 = OpLabel
- OpLoopMerge %193 %194 None
- OpBranch %195
- %195 = OpLabel
- %196 = OpLoad %int %i_12
- %197 = OpSLessThan %bool %196 %int_1
- OpBranchConditional %197 %198 %193
- %198 = OpLabel
- OpStore %i_13 %int_0
- OpBranch %199
- %199 = OpLabel
- OpLoopMerge %200 %201 None
- OpBranch %202
- %202 = OpLabel
- %203 = OpLoad %int %i_13
- %204 = OpSLessThan %bool %203 %int_1
- OpBranchConditional %204 %205 %200
- %205 = OpLabel
- OpStore %i_14 %int_0
- OpBranch %206
- %206 = OpLabel
- OpLoopMerge %207 %208 None
- OpBranch %209
- %209 = OpLabel
- %210 = OpLoad %int %i_14
- %211 = OpSLessThan %bool %210 %int_1
- OpBranchConditional %211 %212 %207
- %212 = OpLabel
- OpStore %i_15 %int_0
- OpBranch %213
- %213 = OpLabel
- OpLoopMerge %214 %215 None
- OpBranch %216
- %216 = OpLabel
- %217 = OpLoad %int %i_15
- %218 = OpSLessThan %bool %217 %int_1
- OpBranchConditional %218 %219 %214
- %219 = OpLabel
- OpStore %i_16 %int_0
- OpBranch %220
- %220 = OpLabel
- OpLoopMerge %221 %222 None
- OpBranch %223
- %223 = OpLabel
- %224 = OpLoad %int %i_16
- %225 = OpSLessThan %bool %224 %int_1
- OpBranchConditional %225 %226 %221
- %226 = OpLabel
- OpStore %i_17 %int_0
- OpBranch %227
- %227 = OpLabel
- OpLoopMerge %228 %229 None
- OpBranch %230
- %230 = OpLabel
- %231 = OpLoad %int %i_17
- %232 = OpSLessThan %bool %231 %int_1
- OpBranchConditional %232 %233 %228
- %233 = OpLabel
- OpStore %i_18 %int_0
- OpBranch %234
- %234 = OpLabel
- OpLoopMerge %235 %236 None
- OpBranch %237
- %237 = OpLabel
- %238 = OpLoad %int %i_18
- %239 = OpSLessThan %bool %238 %int_1
- OpBranchConditional %239 %240 %235
- %240 = OpLabel
- OpStore %i_19 %int_0
- OpBranch %241
- %241 = OpLabel
- OpLoopMerge %242 %243 None
- OpBranch %244
- %244 = OpLabel
- %245 = OpLoad %int %i_19
- %246 = OpSLessThan %bool %245 %int_1
- OpBranchConditional %246 %247 %242
- %247 = OpLabel
- OpStore %i_20 %int_0
- OpBranch %248
- %248 = OpLabel
- OpLoopMerge %249 %250 None
- OpBranch %251
- %251 = OpLabel
- %252 = OpLoad %int %i_20
- %253 = OpSLessThan %bool %252 %int_1
- OpBranchConditional %253 %254 %249
- %254 = OpLabel
- OpStore %i_21 %int_0
- OpBranch %255
- %255 = OpLabel
- OpLoopMerge %256 %257 None
- OpBranch %258
- %258 = OpLabel
- %259 = OpLoad %int %i_21
- %260 = OpSLessThan %bool %259 %int_1
- OpBranchConditional %260 %261 %256
- %261 = OpLabel
- OpStore %i_22 %int_0
- OpBranch %262
- %262 = OpLabel
- OpLoopMerge %263 %264 None
- OpBranch %265
- %265 = OpLabel
- %266 = OpLoad %int %i_22
- %267 = OpSLessThan %bool %266 %int_1
- OpBranchConditional %267 %268 %263
- %268 = OpLabel
- OpStore %i_23 %int_0
- OpBranch %269
- %269 = OpLabel
- OpLoopMerge %270 %271 None
- OpBranch %272
- %272 = OpLabel
- %273 = OpLoad %int %i_23
- %274 = OpSLessThan %bool %273 %int_1
- OpBranchConditional %274 %275 %270
- %275 = OpLabel
- OpStore %i_24 %int_0
- OpBranch %276
- %276 = OpLabel
- OpLoopMerge %277 %278 None
- OpBranch %279
- %279 = OpLabel
- %280 = OpLoad %int %i_24
- %281 = OpSLessThan %bool %280 %int_1
- OpBranchConditional %281 %282 %277
- %282 = OpLabel
- OpStore %i_25 %int_0
- OpBranch %283
- %283 = OpLabel
- OpLoopMerge %284 %285 None
- OpBranch %286
- %286 = OpLabel
- %287 = OpLoad %int %i_25
- %288 = OpSLessThan %bool %287 %int_1
- OpBranchConditional %288 %289 %284
- %289 = OpLabel
- OpStore %i_26 %int_0
- OpBranch %290
- %290 = OpLabel
- OpLoopMerge %291 %292 None
- OpBranch %293
- %293 = OpLabel
- %294 = OpLoad %int %i_26
- %295 = OpSLessThan %bool %294 %int_1
- OpBranchConditional %295 %296 %291
- %296 = OpLabel
- OpStore %i_27 %int_0
- OpBranch %297
- %297 = OpLabel
- OpLoopMerge %298 %299 None
- OpBranch %300
- %300 = OpLabel
- %301 = OpLoad %int %i_27
- %302 = OpSLessThan %bool %301 %int_1
- OpBranchConditional %302 %303 %298
- %303 = OpLabel
- OpStore %i_28 %int_0
- OpBranch %304
- %304 = OpLabel
- OpLoopMerge %305 %306 None
- OpBranch %307
- %307 = OpLabel
- %308 = OpLoad %int %i_28
- %309 = OpSLessThan %bool %308 %int_1
- OpBranchConditional %309 %310 %305
- %310 = OpLabel
- OpStore %i_29 %int_0
- OpBranch %311
- %311 = OpLabel
- OpLoopMerge %312 %313 None
- OpBranch %314
- %314 = OpLabel
- %315 = OpLoad %int %i_29
- %316 = OpSLessThan %bool %315 %int_1
- OpBranchConditional %316 %317 %312
- %317 = OpLabel
- OpStore %i_30 %int_0
- OpBranch %318
- %318 = OpLabel
- OpLoopMerge %319 %320 None
- OpBranch %321
- %321 = OpLabel
- %322 = OpLoad %int %i_30
- %323 = OpSLessThan %bool %322 %int_1
- OpBranchConditional %323 %324 %319
- %324 = OpLabel
- OpStore %i_31 %int_0
- OpBranch %325
- %325 = OpLabel
- OpLoopMerge %326 %327 None
- OpBranch %328
- %328 = OpLabel
- %329 = OpLoad %int %i_31
- %330 = OpSLessThan %bool %329 %int_1
- OpBranchConditional %330 %331 %326
- %331 = OpLabel
- OpStore %i_32 %int_0
- OpBranch %332
- %332 = OpLabel
- OpLoopMerge %333 %334 None
- OpBranch %335
- %335 = OpLabel
- %336 = OpLoad %int %i_32
- %337 = OpSLessThan %bool %336 %int_1
- OpBranchConditional %337 %338 %333
- %338 = OpLabel
- OpStore %i_33 %int_0
- OpBranch %339
- %339 = OpLabel
- OpLoopMerge %340 %341 None
- OpBranch %342
- %342 = OpLabel
- %343 = OpLoad %int %i_33
- %344 = OpSLessThan %bool %343 %int_1
- OpBranchConditional %344 %345 %340
- %345 = OpLabel
- OpStore %i_34 %int_0
- OpBranch %346
- %346 = OpLabel
- OpLoopMerge %347 %348 None
- OpBranch %349
- %349 = OpLabel
- %350 = OpLoad %int %i_34
- %351 = OpSLessThan %bool %350 %int_1
- OpBranchConditional %351 %352 %347
- %352 = OpLabel
- OpStore %i_35 %int_0
- OpBranch %353
- %353 = OpLabel
- OpLoopMerge %354 %355 None
- OpBranch %356
- %356 = OpLabel
- %357 = OpLoad %int %i_35
- %358 = OpSLessThan %bool %357 %int_1
- OpBranchConditional %358 %359 %354
- %359 = OpLabel
- OpStore %i_36 %int_0
- OpBranch %360
- %360 = OpLabel
- OpLoopMerge %361 %362 None
- OpBranch %363
- %363 = OpLabel
- %364 = OpLoad %int %i_36
- %365 = OpSLessThan %bool %364 %int_1
- OpBranchConditional %365 %366 %361
- %366 = OpLabel
- OpBranch %367
- %367 = OpLabel
- OpLoopMerge %368 %369 None
- OpBranch %370
- %370 = OpLabel
- %371 = OpLoad %int %_GLF_global_loop_count
- %372 = OpIAdd %int %371 %int_1
- OpStore %_GLF_global_loop_count %372
- OpBranch %369
- %369 = OpLabel
- %373 = OpLoad %int %_GLF_global_loop_count
- %374 = OpSLessThan %bool %373 %int_98
- OpBranchConditional %374 %367 %368
- %368 = OpLabel
- %375 = OpLoad %int %i_36
- %376 = OpLoad %int %i_36
- %377 = OpAccessChain %_ptr_Function_float %m23 %375 %376
- OpStore %377 %float_1
- %378 = OpLoad %int %i_36
- %379 = OpLoad %int %i_36
- %380 = OpAccessChain %_ptr_Function_float %m24 %378 %379
- OpStore %380 %float_1
- %381 = OpLoad %int %i_36
- %382 = OpLoad %int %i_36
- %383 = OpAccessChain %_ptr_Function_float %m32 %381 %382
- OpStore %383 %float_1
- %384 = OpLoad %int %i_36
- %385 = OpLoad %int %i_36
- %386 = OpAccessChain %_ptr_Function_float %m33 %384 %385
- OpStore %386 %float_1
- %387 = OpLoad %int %i_36
- %388 = OpLoad %int %i_36
- %389 = OpAccessChain %_ptr_Function_float %m34 %387 %388
- OpStore %389 %float_1
- %390 = OpLoad %int %i_36
- %391 = OpLoad %int %i_36
- %392 = OpAccessChain %_ptr_Function_float %m42 %390 %391
- OpStore %392 %float_1
- %393 = OpLoad %int %i_36
- %394 = OpLoad %int %i_36
- %395 = OpAccessChain %_ptr_Function_float %m43 %393 %394
- OpStore %395 %float_1
- %396 = OpLoad %int %i_36
- %397 = OpLoad %int %i_36
- %398 = OpAccessChain %_ptr_Function_float %m44 %396 %397
- OpStore %398 %float_1
- OpBranch %362
- %362 = OpLabel
- %399 = OpLoad %int %i_36
- %400 = OpIAdd %int %399 %int_1
- OpStore %i_36 %400
- OpBranch %360
- %361 = OpLabel
- OpBranch %355
- %355 = OpLabel
- %401 = OpLoad %int %i_35
- %402 = OpIAdd %int %401 %int_1
- OpStore %i_35 %402
- OpBranch %353
- %354 = OpLabel
- OpBranch %348
- %348 = OpLabel
- %403 = OpLoad %int %i_34
- %404 = OpIAdd %int %403 %int_1
- OpStore %i_34 %404
- OpBranch %346
- %347 = OpLabel
- OpBranch %341
- %341 = OpLabel
- %405 = OpLoad %int %i_33
- %406 = OpIAdd %int %405 %int_1
- OpStore %i_33 %406
- OpBranch %339
- %340 = OpLabel
- OpBranch %334
- %334 = OpLabel
- %407 = OpLoad %int %i_32
- %408 = OpIAdd %int %407 %int_1
- OpStore %i_32 %408
- OpBranch %332
- %333 = OpLabel
- OpBranch %327
- %327 = OpLabel
- %409 = OpLoad %int %i_31
- %410 = OpIAdd %int %409 %int_1
- OpStore %i_31 %410
- OpBranch %325
- %326 = OpLabel
- OpBranch %320
- %320 = OpLabel
- %411 = OpLoad %int %i_30
- %412 = OpIAdd %int %411 %int_1
- OpStore %i_30 %412
- OpBranch %318
- %319 = OpLabel
- OpBranch %313
- %313 = OpLabel
- %413 = OpLoad %int %i_29
- %414 = OpIAdd %int %413 %int_1
- OpStore %i_29 %414
- OpBranch %311
- %312 = OpLabel
- OpBranch %306
- %306 = OpLabel
- %415 = OpLoad %int %i_28
- %416 = OpIAdd %int %415 %int_1
- OpStore %i_28 %416
- OpBranch %304
- %305 = OpLabel
- OpBranch %299
- %299 = OpLabel
- %417 = OpLoad %int %i_27
- %418 = OpIAdd %int %417 %int_1
- OpStore %i_27 %418
- OpBranch %297
- %298 = OpLabel
- OpBranch %292
- %292 = OpLabel
- %419 = OpLoad %int %i_26
- %420 = OpIAdd %int %419 %int_1
- OpStore %i_26 %420
- OpBranch %290
- %291 = OpLabel
- OpBranch %285
- %285 = OpLabel
- %421 = OpLoad %int %i_25
- %422 = OpIAdd %int %421 %int_1
- OpStore %i_25 %422
- OpBranch %283
- %284 = OpLabel
- OpBranch %278
- %278 = OpLabel
- %423 = OpLoad %int %i_24
- %424 = OpIAdd %int %423 %int_1
- OpStore %i_24 %424
- OpBranch %276
- %277 = OpLabel
- OpBranch %271
- %271 = OpLabel
- %425 = OpLoad %int %i_23
- %426 = OpIAdd %int %425 %int_1
- OpStore %i_23 %426
- OpBranch %269
- %270 = OpLabel
- OpBranch %264
- %264 = OpLabel
- %427 = OpLoad %int %i_22
- %428 = OpIAdd %int %427 %int_1
- OpStore %i_22 %428
- OpBranch %262
- %263 = OpLabel
- OpBranch %257
- %257 = OpLabel
- %429 = OpLoad %int %i_21
- %430 = OpIAdd %int %429 %int_1
- OpStore %i_21 %430
- OpBranch %255
- %256 = OpLabel
- OpBranch %250
- %250 = OpLabel
- %431 = OpLoad %int %i_20
- %432 = OpIAdd %int %431 %int_1
- OpStore %i_20 %432
- OpBranch %248
- %249 = OpLabel
- OpBranch %243
- %243 = OpLabel
- %433 = OpLoad %int %i_19
- %434 = OpIAdd %int %433 %int_1
- OpStore %i_19 %434
- OpBranch %241
- %242 = OpLabel
- OpBranch %236
- %236 = OpLabel
- %435 = OpLoad %int %i_18
- %436 = OpIAdd %int %435 %int_1
- OpStore %i_18 %436
- OpBranch %234
- %235 = OpLabel
- OpBranch %229
- %229 = OpLabel
- %437 = OpLoad %int %i_17
- %438 = OpIAdd %int %437 %int_1
- OpStore %i_17 %438
- OpBranch %227
- %228 = OpLabel
- OpBranch %222
- %222 = OpLabel
- %439 = OpLoad %int %i_16
- %440 = OpIAdd %int %439 %int_1
- OpStore %i_16 %440
- OpBranch %220
- %221 = OpLabel
- OpBranch %215
- %215 = OpLabel
- %441 = OpLoad %int %i_15
- %442 = OpIAdd %int %441 %int_1
- OpStore %i_15 %442
- OpBranch %213
- %214 = OpLabel
- OpBranch %208
- %208 = OpLabel
- %443 = OpLoad %int %i_14
- %444 = OpIAdd %int %443 %int_1
- OpStore %i_14 %444
- OpBranch %206
- %207 = OpLabel
- OpBranch %201
- %201 = OpLabel
- %445 = OpLoad %int %i_13
- %446 = OpIAdd %int %445 %int_1
- OpStore %i_13 %446
- OpBranch %199
- %200 = OpLabel
- OpBranch %194
- %194 = OpLabel
- %447 = OpLoad %int %i_12
- %448 = OpIAdd %int %447 %int_1
- OpStore %i_12 %448
- OpBranch %192
- %193 = OpLabel
- OpBranch %187
- %187 = OpLabel
- %449 = OpLoad %int %i_11
- %450 = OpIAdd %int %449 %int_1
- OpStore %i_11 %450
- OpBranch %185
- %186 = OpLabel
- OpBranch %180
- %180 = OpLabel
- %451 = OpLoad %int %i_10
- %452 = OpIAdd %int %451 %int_1
- OpStore %i_10 %452
- OpBranch %178
- %179 = OpLabel
- OpBranch %173
- %173 = OpLabel
- %453 = OpLoad %int %i_9
- %454 = OpIAdd %int %453 %int_1
- OpStore %i_9 %454
- OpBranch %171
- %172 = OpLabel
- OpBranch %166
- %166 = OpLabel
- %455 = OpLoad %int %i_8
- %456 = OpIAdd %int %455 %int_1
- OpStore %i_8 %456
- OpBranch %164
- %165 = OpLabel
- OpBranch %159
- %159 = OpLabel
- %457 = OpLoad %int %i_7
- %458 = OpIAdd %int %457 %int_1
- OpStore %i_7 %458
- OpBranch %157
- %158 = OpLabel
- OpBranch %152
- %152 = OpLabel
- %459 = OpLoad %int %i_6
- %460 = OpIAdd %int %459 %int_1
- OpStore %i_6 %460
- OpBranch %150
- %151 = OpLabel
- OpBranch %145
- %145 = OpLabel
- %461 = OpLoad %int %i_5
- %462 = OpIAdd %int %461 %int_1
- OpStore %i_5 %462
- OpBranch %143
- %144 = OpLabel
- OpBranch %138
- %138 = OpLabel
- %463 = OpLoad %int %i_4
- %464 = OpIAdd %int %463 %int_1
- OpStore %i_4 %464
- OpBranch %136
- %137 = OpLabel
- OpBranch %131
- %131 = OpLabel
- %465 = OpLoad %int %i_3
- %466 = OpIAdd %int %465 %int_1
- OpStore %i_3 %466
- OpBranch %129
- %130 = OpLabel
- OpBranch %124
- %124 = OpLabel
- %467 = OpLoad %int %i_2
- %468 = OpIAdd %int %467 %int_1
- OpStore %i_2 %468
- OpBranch %122
- %123 = OpLabel
- OpBranch %117
- %117 = OpLabel
- %469 = OpLoad %int %i_1
- %470 = OpIAdd %int %469 %int_1
- OpStore %i_1 %470
- OpBranch %115
- %116 = OpLabel
- OpBranch %110
- %110 = OpLabel
- %471 = OpLoad %int %i_0
- %472 = OpIAdd %int %471 %int_1
- OpStore %i_0 %472
- OpBranch %108
- %109 = OpLabel
- OpBranch %103
- %103 = OpLabel
- %473 = OpLoad %int %i
- %474 = OpIAdd %int %473 %int_1
- OpStore %i %474
- OpBranch %101
- %102 = OpLabel
- OpStore %sum %float_0
- OpStore %r %int_0
- OpBranch %475
- %475 = OpLabel
- OpLoopMerge %476 %477 None
- OpBranch %478
- %478 = OpLabel
- %479 = OpLoad %int %_GLF_global_loop_count
- %480 = OpSLessThan %bool %479 %int_100
- OpBranchConditional %480 %481 %476
- %481 = OpLabel
- %482 = OpLoad %int %_GLF_global_loop_count
- %483 = OpIAdd %int %482 %int_1
- OpStore %_GLF_global_loop_count %483
- %484 = OpLoad %int %r
- %485 = OpAccessChain %_ptr_Function_float %m23 %int_0 %484
- %486 = OpLoad %float %485
- %487 = OpLoad %float %sum
- %488 = OpFAdd %float %487 %486
- OpStore %sum %488
- %489 = OpLoad %int %r
- %490 = OpAccessChain %_ptr_Function_float %m24 %int_0 %489
- %491 = OpLoad %float %490
- %492 = OpLoad %float %sum
- %493 = OpFAdd %float %492 %491
- OpStore %sum %493
- %494 = OpLoad %int %r
- %495 = OpAccessChain %_ptr_Function_float %m32 %int_0 %494
- %496 = OpLoad %float %495
- %497 = OpLoad %float %sum
- %498 = OpFAdd %float %497 %496
- OpStore %sum %498
- %499 = OpLoad %int %r
- %500 = OpAccessChain %_ptr_Function_float %m33 %int_0 %499
- %501 = OpLoad %float %500
- %502 = OpLoad %float %sum
- %503 = OpFAdd %float %502 %501
- OpStore %sum %503
- %504 = OpLoad %int %r
- %505 = OpAccessChain %_ptr_Function_float %m34 %int_0 %504
- %506 = OpLoad %float %505
- %507 = OpLoad %float %sum
- %508 = OpFAdd %float %507 %506
- OpStore %sum %508
- %509 = OpLoad %int %r
- %510 = OpAccessChain %_ptr_Function_float %m42 %int_0 %509
- %511 = OpLoad %float %510
- %512 = OpLoad %float %sum
- %513 = OpFAdd %float %512 %511
- OpStore %sum %513
- %514 = OpLoad %int %r
- %515 = OpAccessChain %_ptr_Function_float %m43 %int_0 %514
- %516 = OpLoad %float %515
- %517 = OpLoad %float %sum
- %518 = OpFAdd %float %517 %516
- OpStore %sum %518
- %519 = OpLoad %int %r
- %520 = OpAccessChain %_ptr_Function_float %m44 %int_0 %519
- %521 = OpLoad %float %520
- %522 = OpLoad %float %sum
- %523 = OpFAdd %float %522 %521
- OpStore %sum %523
- OpBranch %477
- %477 = OpLabel
- %524 = OpLoad %int %r
- %525 = OpIAdd %int %524 %int_1
- OpStore %r %525
- OpBranch %475
- %476 = OpLabel
- %526 = OpLoad %float %sum
- %527 = OpFOrdEqual %bool %526 %float_8
- OpSelectionMerge %528 None
- OpBranchConditional %527 %529 %530
- %529 = OpLabel
- OpStore %_GLF_color %99
- OpBranch %528
- %530 = OpLabel
- OpStore %_GLF_color %68
- OpBranch %528
- %528 = OpLabel
- OpReturn
- OpFunctionEnd