File: llvm-arrays_01-91893af.stdout

package info (click to toggle)
lfortran 0.58.0-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 54,512 kB
  • sloc: cpp: 162,179; f90: 68,251; python: 17,476; ansic: 6,278; yacc: 2,334; sh: 1,317; fortran: 892; makefile: 33; javascript: 15
file content (554 lines) | stat: -rw-r--r-- 31,736 bytes parent folder | download
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
; ModuleID = 'LFortran'
source_filename = "LFortran"

@0 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@1 = private unnamed_addr constant [176 x i8] c"At 5:5 of file tests/../integration_tests/arrays_01.f90\0ARuntime error: Array '%s' index out of bounds.\0A\0ATried to access index %d of dimension %d, but valid range is %d to %d.\0A\00", align 1
@2 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@3 = private unnamed_addr constant [176 x i8] c"At 7:5 of file tests/../integration_tests/arrays_01.f90\0ARuntime error: Array '%s' index out of bounds.\0A\0ATried to access index %d of dimension %d, but valid range is %d to %d.\0A\00", align 1
@"ERROR STOP" = private unnamed_addr constant [11 x i8] c"ERROR STOP\00", align 1
@4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@5 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@6 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@7 = private unnamed_addr constant [176 x i8] c"At 8:5 of file tests/../integration_tests/arrays_01.f90\0ARuntime error: Array '%s' index out of bounds.\0A\0ATried to access index %d of dimension %d, but valid range is %d to %d.\0A\00", align 1
@8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@9 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@10 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@11 = private unnamed_addr constant [176 x i8] c"At 9:5 of file tests/../integration_tests/arrays_01.f90\0ARuntime error: Array '%s' index out of bounds.\0A\0ATried to access index %d of dimension %d, but valid range is %d to %d.\0A\00", align 1
@12 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@13 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@14 = private unnamed_addr constant [2 x i8] c"b\00", align 1
@15 = private unnamed_addr constant [177 x i8] c"At 12:5 of file tests/../integration_tests/arrays_01.f90\0ARuntime error: Array '%s' index out of bounds.\0A\0ATried to access index %d of dimension %d, but valid range is %d to %d.\0A\00", align 1
@16 = private unnamed_addr constant [2 x i8] c"b\00", align 1
@17 = private unnamed_addr constant [177 x i8] c"At 14:5 of file tests/../integration_tests/arrays_01.f90\0ARuntime error: Array '%s' index out of bounds.\0A\0ATried to access index %d of dimension %d, but valid range is %d to %d.\0A\00", align 1
@18 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@19 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@20 = private unnamed_addr constant [2 x i8] c"b\00", align 1
@21 = private unnamed_addr constant [177 x i8] c"At 15:5 of file tests/../integration_tests/arrays_01.f90\0ARuntime error: Array '%s' index out of bounds.\0A\0ATried to access index %d of dimension %d, but valid range is %d to %d.\0A\00", align 1
@22 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@23 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@24 = private unnamed_addr constant [2 x i8] c"b\00", align 1
@25 = private unnamed_addr constant [177 x i8] c"At 16:5 of file tests/../integration_tests/arrays_01.f90\0ARuntime error: Array '%s' index out of bounds.\0A\0ATried to access index %d of dimension %d, but valid range is %d to %d.\0A\00", align 1
@26 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@27 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@28 = private unnamed_addr constant [2 x i8] c"b\00", align 1
@29 = private unnamed_addr constant [177 x i8] c"At 17:5 of file tests/../integration_tests/arrays_01.f90\0ARuntime error: Array '%s' index out of bounds.\0A\0ATried to access index %d of dimension %d, but valid range is %d to %d.\0A\00", align 1
@30 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@31 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@32 = private unnamed_addr constant [2 x i8] c"b\00", align 1
@33 = private unnamed_addr constant [177 x i8] c"At 20:5 of file tests/../integration_tests/arrays_01.f90\0ARuntime error: Array '%s' index out of bounds.\0A\0ATried to access index %d of dimension %d, but valid range is %d to %d.\0A\00", align 1
@34 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@35 = private unnamed_addr constant [178 x i8] c"At 20:12 of file tests/../integration_tests/arrays_01.f90\0ARuntime error: Array '%s' index out of bounds.\0A\0ATried to access index %d of dimension %d, but valid range is %d to %d.\0A\00", align 1
@36 = private unnamed_addr constant [2 x i8] c"b\00", align 1
@37 = private unnamed_addr constant [177 x i8] c"At 22:5 of file tests/../integration_tests/arrays_01.f90\0ARuntime error: Array '%s' index out of bounds.\0A\0ATried to access index %d of dimension %d, but valid range is %d to %d.\0A\00", align 1
@38 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@39 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@40 = private unnamed_addr constant [2 x i8] c"b\00", align 1
@41 = private unnamed_addr constant [177 x i8] c"At 23:5 of file tests/../integration_tests/arrays_01.f90\0ARuntime error: Array '%s' index out of bounds.\0A\0ATried to access index %d of dimension %d, but valid range is %d to %d.\0A\00", align 1
@42 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@43 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@44 = private unnamed_addr constant [2 x i8] c"b\00", align 1
@45 = private unnamed_addr constant [177 x i8] c"At 24:5 of file tests/../integration_tests/arrays_01.f90\0ARuntime error: Array '%s' index out of bounds.\0A\0ATried to access index %d of dimension %d, but valid range is %d to %d.\0A\00", align 1
@46 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@47 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@48 = private unnamed_addr constant [2 x i8] c"b\00", align 1
@49 = private unnamed_addr constant [177 x i8] c"At 26:1 of file tests/../integration_tests/arrays_01.f90\0ARuntime error: Array '%s' index out of bounds.\0A\0ATried to access index %d of dimension %d, but valid range is %d to %d.\0A\00", align 1
@50 = private unnamed_addr constant [2 x i8] c"b\00", align 1
@51 = private unnamed_addr constant [177 x i8] c"At 26:8 of file tests/../integration_tests/arrays_01.f90\0ARuntime error: Array '%s' index out of bounds.\0A\0ATried to access index %d of dimension %d, but valid range is %d to %d.\0A\00", align 1
@52 = private unnamed_addr constant [2 x i8] c"b\00", align 1
@53 = private unnamed_addr constant [178 x i8] c"At 26:13 of file tests/../integration_tests/arrays_01.f90\0ARuntime error: Array '%s' index out of bounds.\0A\0ATried to access index %d of dimension %d, but valid range is %d to %d.\0A\00", align 1
@54 = private unnamed_addr constant [2 x i8] c"b\00", align 1
@55 = private unnamed_addr constant [178 x i8] c"At 26:18 of file tests/../integration_tests/arrays_01.f90\0ARuntime error: Array '%s' index out of bounds.\0A\0ATried to access index %d of dimension %d, but valid range is %d to %d.\0A\00", align 1
@56 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@57 = private unnamed_addr constant [178 x i8] c"At 26:23 of file tests/../integration_tests/arrays_01.f90\0ARuntime error: Array '%s' index out of bounds.\0A\0ATried to access index %d of dimension %d, but valid range is %d to %d.\0A\00", align 1
@58 = private unnamed_addr constant [2 x i8] c"b\00", align 1
@59 = private unnamed_addr constant [177 x i8] c"At 27:5 of file tests/../integration_tests/arrays_01.f90\0ARuntime error: Array '%s' index out of bounds.\0A\0ATried to access index %d of dimension %d, but valid range is %d to %d.\0A\00", align 1
@60 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@61 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@62 = private unnamed_addr constant [2 x i8] c"b\00", align 1
@63 = private unnamed_addr constant [177 x i8] c"At 29:1 of file tests/../integration_tests/arrays_01.f90\0ARuntime error: Array '%s' index out of bounds.\0A\0ATried to access index %d of dimension %d, but valid range is %d to %d.\0A\00", align 1
@64 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@65 = private unnamed_addr constant [177 x i8] c"At 29:8 of file tests/../integration_tests/arrays_01.f90\0ARuntime error: Array '%s' index out of bounds.\0A\0ATried to access index %d of dimension %d, but valid range is %d to %d.\0A\00", align 1
@66 = private unnamed_addr constant [2 x i8] c"b\00", align 1
@67 = private unnamed_addr constant [177 x i8] c"At 30:5 of file tests/../integration_tests/arrays_01.f90\0ARuntime error: Array '%s' index out of bounds.\0A\0ATried to access index %d of dimension %d, but valid range is %d to %d.\0A\00", align 1
@68 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@69 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1

define i32 @main(i32 %0, i8** %1) {
.entry:
  %i = alloca i32, align 4
  call void @_lpython_call_initial_functions(i32 %0, i8** %1)
  %a = alloca [3 x i32], align 4
  %b = alloca [4 x i32], align 4
  %i1 = alloca i32, align 4
  store i32 0, i32* %i1, align 4
  br label %loop.head

loop.head:                                        ; preds = %ifcont, %.entry
  %2 = load i32, i32* %i1, align 4
  %3 = add i32 %2, 1
  %4 = icmp sle i32 %3, 3
  br i1 %4, label %loop.body, label %loop.end

loop.body:                                        ; preds = %loop.head
  %5 = load i32, i32* %i1, align 4
  %6 = add i32 %5, 1
  store i32 %6, i32* %i1, align 4
  %7 = load i32, i32* %i1, align 4
  %8 = sub i32 %7, 1
  %9 = mul i32 1, %8
  %10 = add i32 0, %9
  %11 = icmp slt i32 %7, 1
  %12 = icmp sgt i32 %7, 3
  %13 = or i1 %11, %12
  br i1 %13, label %then, label %ifcont

then:                                             ; preds = %loop.body
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([176 x i8], [176 x i8]* @1, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @0, i32 0, i32 0), i32 %7, i32 1, i32 1, i32 3)
  call void @exit(i32 1)
  unreachable

ifcont:                                           ; preds = %loop.body
  %14 = getelementptr [3 x i32], [3 x i32]* %a, i32 0, i32 %10
  %15 = load i32, i32* %i1, align 4
  %16 = add i32 %15, 10
  store i32 %16, i32* %14, align 4
  br label %loop.head

loop.end:                                         ; preds = %loop.head
  br i1 false, label %then2, label %ifcont3

then2:                                            ; preds = %loop.end
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([176 x i8], [176 x i8]* @3, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @2, i32 0, i32 0), i32 1, i32 1, i32 1, i32 3)
  call void @exit(i32 1)
  unreachable

ifcont3:                                          ; preds = %loop.end
  %17 = getelementptr [3 x i32], [3 x i32]* %a, i32 0, i32 0
  %18 = load i32, i32* %17, align 4
  %19 = icmp ne i32 %18, 11
  br i1 %19, label %then4, label %else

then4:                                            ; preds = %ifcont3
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @5, i32 0, i32 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @"ERROR STOP", i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @4, i32 0, i32 0))
  call void @exit(i32 1)
  br label %ifcont5

else:                                             ; preds = %ifcont3
  br label %ifcont5

ifcont5:                                          ; preds = %else, %then4
  br i1 false, label %then6, label %ifcont7

then6:                                            ; preds = %ifcont5
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([176 x i8], [176 x i8]* @7, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @6, i32 0, i32 0), i32 2, i32 1, i32 1, i32 3)
  call void @exit(i32 1)
  unreachable

ifcont7:                                          ; preds = %ifcont5
  %20 = getelementptr [3 x i32], [3 x i32]* %a, i32 0, i32 1
  %21 = load i32, i32* %20, align 4
  %22 = icmp ne i32 %21, 12
  br i1 %22, label %then8, label %else9

then8:                                            ; preds = %ifcont7
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @9, i32 0, i32 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @"ERROR STOP", i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @8, i32 0, i32 0))
  call void @exit(i32 1)
  br label %ifcont10

else9:                                            ; preds = %ifcont7
  br label %ifcont10

ifcont10:                                         ; preds = %else9, %then8
  br i1 false, label %then11, label %ifcont12

then11:                                           ; preds = %ifcont10
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([176 x i8], [176 x i8]* @11, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @10, i32 0, i32 0), i32 3, i32 1, i32 1, i32 3)
  call void @exit(i32 1)
  unreachable

ifcont12:                                         ; preds = %ifcont10
  %23 = getelementptr [3 x i32], [3 x i32]* %a, i32 0, i32 2
  %24 = load i32, i32* %23, align 4
  %25 = icmp ne i32 %24, 13
  br i1 %25, label %then13, label %else14

then13:                                           ; preds = %ifcont12
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @13, i32 0, i32 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @"ERROR STOP", i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @12, i32 0, i32 0))
  call void @exit(i32 1)
  br label %ifcont15

else14:                                           ; preds = %ifcont12
  br label %ifcont15

ifcont15:                                         ; preds = %else14, %then13
  store i32 10, i32* %i1, align 4
  br label %loop.head16

loop.head16:                                      ; preds = %ifcont19, %ifcont15
  %26 = load i32, i32* %i1, align 4
  %27 = add i32 %26, 1
  %28 = icmp sle i32 %27, 14
  br i1 %28, label %loop.body17, label %loop.end20

loop.body17:                                      ; preds = %loop.head16
  %29 = load i32, i32* %i1, align 4
  %30 = add i32 %29, 1
  store i32 %30, i32* %i1, align 4
  %31 = load i32, i32* %i1, align 4
  %32 = sub i32 %31, 10
  %33 = sub i32 %32, 1
  %34 = mul i32 1, %33
  %35 = add i32 0, %34
  %36 = icmp slt i32 %32, 1
  %37 = icmp sgt i32 %32, 4
  %38 = or i1 %36, %37
  br i1 %38, label %then18, label %ifcont19

then18:                                           ; preds = %loop.body17
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([177 x i8], [177 x i8]* @15, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @14, i32 0, i32 0), i32 %32, i32 1, i32 1, i32 4)
  call void @exit(i32 1)
  unreachable

ifcont19:                                         ; preds = %loop.body17
  %39 = getelementptr [4 x i32], [4 x i32]* %b, i32 0, i32 %35
  %40 = load i32, i32* %i1, align 4
  store i32 %40, i32* %39, align 4
  br label %loop.head16

loop.end20:                                       ; preds = %loop.head16
  br i1 false, label %then21, label %ifcont22

then21:                                           ; preds = %loop.end20
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([177 x i8], [177 x i8]* @17, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @16, i32 0, i32 0), i32 1, i32 1, i32 1, i32 4)
  call void @exit(i32 1)
  unreachable

ifcont22:                                         ; preds = %loop.end20
  %41 = getelementptr [4 x i32], [4 x i32]* %b, i32 0, i32 0
  %42 = load i32, i32* %41, align 4
  %43 = icmp ne i32 %42, 11
  br i1 %43, label %then23, label %else24

then23:                                           ; preds = %ifcont22
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @19, i32 0, i32 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @"ERROR STOP", i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @18, i32 0, i32 0))
  call void @exit(i32 1)
  br label %ifcont25

else24:                                           ; preds = %ifcont22
  br label %ifcont25

ifcont25:                                         ; preds = %else24, %then23
  br i1 false, label %then26, label %ifcont27

then26:                                           ; preds = %ifcont25
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([177 x i8], [177 x i8]* @21, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @20, i32 0, i32 0), i32 2, i32 1, i32 1, i32 4)
  call void @exit(i32 1)
  unreachable

ifcont27:                                         ; preds = %ifcont25
  %44 = getelementptr [4 x i32], [4 x i32]* %b, i32 0, i32 1
  %45 = load i32, i32* %44, align 4
  %46 = icmp ne i32 %45, 12
  br i1 %46, label %then28, label %else29

then28:                                           ; preds = %ifcont27
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @23, i32 0, i32 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @"ERROR STOP", i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @22, i32 0, i32 0))
  call void @exit(i32 1)
  br label %ifcont30

else29:                                           ; preds = %ifcont27
  br label %ifcont30

ifcont30:                                         ; preds = %else29, %then28
  br i1 false, label %then31, label %ifcont32

then31:                                           ; preds = %ifcont30
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([177 x i8], [177 x i8]* @25, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @24, i32 0, i32 0), i32 3, i32 1, i32 1, i32 4)
  call void @exit(i32 1)
  unreachable

ifcont32:                                         ; preds = %ifcont30
  %47 = getelementptr [4 x i32], [4 x i32]* %b, i32 0, i32 2
  %48 = load i32, i32* %47, align 4
  %49 = icmp ne i32 %48, 13
  br i1 %49, label %then33, label %else34

then33:                                           ; preds = %ifcont32
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @27, i32 0, i32 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @"ERROR STOP", i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @26, i32 0, i32 0))
  call void @exit(i32 1)
  br label %ifcont35

else34:                                           ; preds = %ifcont32
  br label %ifcont35

ifcont35:                                         ; preds = %else34, %then33
  br i1 false, label %then36, label %ifcont37

then36:                                           ; preds = %ifcont35
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([177 x i8], [177 x i8]* @29, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @28, i32 0, i32 0), i32 4, i32 1, i32 1, i32 4)
  call void @exit(i32 1)
  unreachable

ifcont37:                                         ; preds = %ifcont35
  %50 = getelementptr [4 x i32], [4 x i32]* %b, i32 0, i32 3
  %51 = load i32, i32* %50, align 4
  %52 = icmp ne i32 %51, 14
  br i1 %52, label %then38, label %else39

then38:                                           ; preds = %ifcont37
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @31, i32 0, i32 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @"ERROR STOP", i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @30, i32 0, i32 0))
  call void @exit(i32 1)
  br label %ifcont40

else39:                                           ; preds = %ifcont37
  br label %ifcont40

ifcont40:                                         ; preds = %else39, %then38
  store i32 0, i32* %i1, align 4
  br label %loop.head41

loop.head41:                                      ; preds = %ifcont46, %ifcont40
  %53 = load i32, i32* %i1, align 4
  %54 = add i32 %53, 1
  %55 = icmp sle i32 %54, 3
  br i1 %55, label %loop.body42, label %loop.end47

loop.body42:                                      ; preds = %loop.head41
  %56 = load i32, i32* %i1, align 4
  %57 = add i32 %56, 1
  store i32 %57, i32* %i1, align 4
  %58 = load i32, i32* %i1, align 4
  %59 = sub i32 %58, 1
  %60 = mul i32 1, %59
  %61 = add i32 0, %60
  %62 = icmp slt i32 %58, 1
  %63 = icmp sgt i32 %58, 4
  %64 = or i1 %62, %63
  br i1 %64, label %then43, label %ifcont44

then43:                                           ; preds = %loop.body42
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([177 x i8], [177 x i8]* @33, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @32, i32 0, i32 0), i32 %58, i32 1, i32 1, i32 4)
  call void @exit(i32 1)
  unreachable

ifcont44:                                         ; preds = %loop.body42
  %65 = getelementptr [4 x i32], [4 x i32]* %b, i32 0, i32 %61
  %66 = load i32, i32* %i1, align 4
  %67 = sub i32 %66, 1
  %68 = mul i32 1, %67
  %69 = add i32 0, %68
  %70 = icmp slt i32 %66, 1
  %71 = icmp sgt i32 %66, 3
  %72 = or i1 %70, %71
  br i1 %72, label %then45, label %ifcont46

then45:                                           ; preds = %ifcont44
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([178 x i8], [178 x i8]* @35, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @34, i32 0, i32 0), i32 %66, i32 1, i32 1, i32 3)
  call void @exit(i32 1)
  unreachable

ifcont46:                                         ; preds = %ifcont44
  %73 = getelementptr [3 x i32], [3 x i32]* %a, i32 0, i32 %69
  %74 = load i32, i32* %73, align 4
  %75 = sub i32 %74, 10
  store i32 %75, i32* %65, align 4
  br label %loop.head41

loop.end47:                                       ; preds = %loop.head41
  br i1 false, label %then48, label %ifcont49

then48:                                           ; preds = %loop.end47
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([177 x i8], [177 x i8]* @37, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @36, i32 0, i32 0), i32 1, i32 1, i32 1, i32 4)
  call void @exit(i32 1)
  unreachable

ifcont49:                                         ; preds = %loop.end47
  %76 = getelementptr [4 x i32], [4 x i32]* %b, i32 0, i32 0
  %77 = load i32, i32* %76, align 4
  %78 = icmp ne i32 %77, 1
  br i1 %78, label %then50, label %else51

then50:                                           ; preds = %ifcont49
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @39, i32 0, i32 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @"ERROR STOP", i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @38, i32 0, i32 0))
  call void @exit(i32 1)
  br label %ifcont52

else51:                                           ; preds = %ifcont49
  br label %ifcont52

ifcont52:                                         ; preds = %else51, %then50
  br i1 false, label %then53, label %ifcont54

then53:                                           ; preds = %ifcont52
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([177 x i8], [177 x i8]* @41, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @40, i32 0, i32 0), i32 2, i32 1, i32 1, i32 4)
  call void @exit(i32 1)
  unreachable

ifcont54:                                         ; preds = %ifcont52
  %79 = getelementptr [4 x i32], [4 x i32]* %b, i32 0, i32 1
  %80 = load i32, i32* %79, align 4
  %81 = icmp ne i32 %80, 2
  br i1 %81, label %then55, label %else56

then55:                                           ; preds = %ifcont54
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @43, i32 0, i32 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @"ERROR STOP", i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @42, i32 0, i32 0))
  call void @exit(i32 1)
  br label %ifcont57

else56:                                           ; preds = %ifcont54
  br label %ifcont57

ifcont57:                                         ; preds = %else56, %then55
  br i1 false, label %then58, label %ifcont59

then58:                                           ; preds = %ifcont57
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([177 x i8], [177 x i8]* @45, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @44, i32 0, i32 0), i32 3, i32 1, i32 1, i32 4)
  call void @exit(i32 1)
  unreachable

ifcont59:                                         ; preds = %ifcont57
  %82 = getelementptr [4 x i32], [4 x i32]* %b, i32 0, i32 2
  %83 = load i32, i32* %82, align 4
  %84 = icmp ne i32 %83, 3
  br i1 %84, label %then60, label %else61

then60:                                           ; preds = %ifcont59
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @47, i32 0, i32 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @"ERROR STOP", i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @46, i32 0, i32 0))
  call void @exit(i32 1)
  br label %ifcont62

else61:                                           ; preds = %ifcont59
  br label %ifcont62

ifcont62:                                         ; preds = %else61, %then60
  br i1 false, label %then63, label %ifcont64

then63:                                           ; preds = %ifcont62
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([177 x i8], [177 x i8]* @49, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @48, i32 0, i32 0), i32 4, i32 1, i32 1, i32 4)
  call void @exit(i32 1)
  unreachable

ifcont64:                                         ; preds = %ifcont62
  %85 = getelementptr [4 x i32], [4 x i32]* %b, i32 0, i32 3
  br i1 false, label %then65, label %ifcont66

then65:                                           ; preds = %ifcont64
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([177 x i8], [177 x i8]* @51, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @50, i32 0, i32 0), i32 1, i32 1, i32 1, i32 4)
  call void @exit(i32 1)
  unreachable

ifcont66:                                         ; preds = %ifcont64
  %86 = getelementptr [4 x i32], [4 x i32]* %b, i32 0, i32 0
  %87 = load i32, i32* %86, align 4
  br i1 false, label %then67, label %ifcont68

then67:                                           ; preds = %ifcont66
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([178 x i8], [178 x i8]* @53, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @52, i32 0, i32 0), i32 2, i32 1, i32 1, i32 4)
  call void @exit(i32 1)
  unreachable

ifcont68:                                         ; preds = %ifcont66
  %88 = getelementptr [4 x i32], [4 x i32]* %b, i32 0, i32 1
  %89 = load i32, i32* %88, align 4
  %90 = add i32 %87, %89
  br i1 false, label %then69, label %ifcont70

then69:                                           ; preds = %ifcont68
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([178 x i8], [178 x i8]* @55, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @54, i32 0, i32 0), i32 3, i32 1, i32 1, i32 4)
  call void @exit(i32 1)
  unreachable

ifcont70:                                         ; preds = %ifcont68
  %91 = getelementptr [4 x i32], [4 x i32]* %b, i32 0, i32 2
  %92 = load i32, i32* %91, align 4
  %93 = add i32 %90, %92
  br i1 false, label %then71, label %ifcont72

then71:                                           ; preds = %ifcont70
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([178 x i8], [178 x i8]* @57, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @56, i32 0, i32 0), i32 1, i32 1, i32 1, i32 3)
  call void @exit(i32 1)
  unreachable

ifcont72:                                         ; preds = %ifcont70
  %94 = getelementptr [3 x i32], [3 x i32]* %a, i32 0, i32 0
  %95 = load i32, i32* %94, align 4
  %96 = add i32 %93, %95
  store i32 %96, i32* %85, align 4
  br i1 false, label %then73, label %ifcont74

then73:                                           ; preds = %ifcont72
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([177 x i8], [177 x i8]* @59, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @58, i32 0, i32 0), i32 4, i32 1, i32 1, i32 4)
  call void @exit(i32 1)
  unreachable

ifcont74:                                         ; preds = %ifcont72
  %97 = getelementptr [4 x i32], [4 x i32]* %b, i32 0, i32 3
  %98 = load i32, i32* %97, align 4
  %99 = icmp ne i32 %98, 17
  br i1 %99, label %then75, label %else76

then75:                                           ; preds = %ifcont74
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @61, i32 0, i32 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @"ERROR STOP", i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @60, i32 0, i32 0))
  call void @exit(i32 1)
  br label %ifcont77

else76:                                           ; preds = %ifcont74
  br label %ifcont77

ifcont77:                                         ; preds = %else76, %then75
  br i1 false, label %then78, label %ifcont79

then78:                                           ; preds = %ifcont77
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([177 x i8], [177 x i8]* @63, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @62, i32 0, i32 0), i32 4, i32 1, i32 1, i32 4)
  call void @exit(i32 1)
  unreachable

ifcont79:                                         ; preds = %ifcont77
  %100 = getelementptr [4 x i32], [4 x i32]* %b, i32 0, i32 3
  br i1 false, label %then80, label %ifcont81

then80:                                           ; preds = %ifcont79
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([177 x i8], [177 x i8]* @65, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @64, i32 0, i32 0), i32 1, i32 1, i32 1, i32 3)
  call void @exit(i32 1)
  unreachable

ifcont81:                                         ; preds = %ifcont79
  %101 = getelementptr [3 x i32], [3 x i32]* %a, i32 0, i32 0
  %102 = load i32, i32* %101, align 4
  store i32 %102, i32* %100, align 4
  br i1 false, label %then82, label %ifcont83

then82:                                           ; preds = %ifcont81
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([177 x i8], [177 x i8]* @67, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @66, i32 0, i32 0), i32 4, i32 1, i32 1, i32 4)
  call void @exit(i32 1)
  unreachable

ifcont83:                                         ; preds = %ifcont81
  %103 = getelementptr [4 x i32], [4 x i32]* %b, i32 0, i32 3
  %104 = load i32, i32* %103, align 4
  %105 = icmp ne i32 %104, 11
  br i1 %105, label %then84, label %else85

then84:                                           ; preds = %ifcont83
  call void (i8*, ...) @_lcompilers_print_error(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @69, i32 0, i32 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @"ERROR STOP", i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @68, i32 0, i32 0))
  call void @exit(i32 1)
  br label %ifcont86

else85:                                           ; preds = %ifcont83
  br label %ifcont86

ifcont86:                                         ; preds = %else85, %then84
  call void @_lpython_free_argv()
  br label %return

return:                                           ; preds = %ifcont86
  ret i32 0
}

declare void @_lpython_call_initial_functions(i32, i8**)

declare void @_lcompilers_print_error(i8*, ...)

declare void @exit(i32)

declare void @_lpython_free_argv()