2 .file "/s/llvm-upstream/llvm/test/CodeGen/WebAssembly/cfg-stackify.ll"
12 i32.lt_s $push0=, $1, $0
18 i32.add $1=, $1, $pop1
19 call something@FUNCTION
25 .size test0, .Lfunc_end0-test0
36 i32.lt_s $push0=, $1, $0
42 i32.add $1=, $1, $pop1
43 call something@FUNCTION
49 .size test1, .Lfunc_end1-test1
57 i32.lt_s $push1=, $1, $pop0
61 f64.load $push2=, 0($0)
62 f64.const $push8=, 0x1.999999999999ap1
63 f64.mul $push3=, $pop2, $pop8
64 f64.store 0($0), $pop3
66 i32.add $0=, $0, $pop7
68 i32.add $push5=, $1, $pop6
69 tee_local $push4=, $1=, $pop5
77 .size test2, .Lfunc_end2-test2
80 .type doublediamond,@function
85 i32.store 0($2), $pop0
90 i32.store 0($2), $pop4
95 i32.store 0($2), $pop1
99 i32.store 0($2), $pop3
104 i32.store 0($2), $pop2
108 i32.store 0($2), $pop5
113 .size doublediamond, .Lfunc_end3-doublediamond
116 .type triangle,@function
121 i32.store 0($0), $pop2
125 i32.store 0($0), $pop0
129 i32.store 0($0), $pop1
134 .size triangle, .Lfunc_end4-triangle
137 .type diamond,@function
142 i32.store 0($0), $pop0
147 i32.store 0($0), $pop2
152 i32.store 0($0), $pop1
156 i32.store 0($0), $pop3
161 .size diamond, .Lfunc_end5-diamond
164 .type single_block,@function
169 i32.store 0($0), $pop0
174 .size single_block, .Lfunc_end6-single_block
177 .type minimal_loop,@function
182 i32.store 0($0), $pop0
186 i32.store 0($0), $pop1
192 .size minimal_loop, .Lfunc_end7-minimal_loop
195 .type simple_loop,@function
200 i32.store 0($0), $pop0
204 i32.store 0($0), $pop3
209 i32.store 0($0), $pop1
214 .size simple_loop, .Lfunc_end8-simple_loop
216 .globl doubletriangle
217 .type doubletriangle,@function
222 i32.store 0($2), $pop4
226 i32.store 0($2), $pop0
230 i32.store 0($2), $pop1
234 i32.store 0($2), $pop2
238 i32.store 0($2), $pop3
243 .size doubletriangle, .Lfunc_end9-doubletriangle
245 .globl ifelse_earlyexits
246 .type ifelse_earlyexits,@function
251 i32.store 0($2), $pop0
256 i32.store 0($2), $pop3
261 i32.store 0($2), $pop1
264 i32.store 0($2), $pop2
268 i32.store 0($2), $pop4
273 .size ifelse_earlyexits, .Lfunc_end10-ifelse_earlyexits
275 .globl doublediamond_in_a_loop
276 .type doublediamond_in_a_loop,@function
277 doublediamond_in_a_loop:
283 i32.store 0($2), $pop0
287 i32.store 0($2), $pop2
289 i32.store 0($2), $pop1
294 i32.store 0($2), $pop3
298 i32.store 0($2), $pop5
300 i32.store 0($2), $pop4
305 i32.store 0($2), $pop7
307 i32.store 0($2), $pop6
313 .size doublediamond_in_a_loop, .Lfunc_end11-doublediamond_in_a_loop
316 .type test3,@function
343 .size test3, .Lfunc_end12-test3
346 .type test4,@function
352 i32.gt_s $push1=, $0, $pop0
357 i32.eq $drop=, $0, $pop6
363 i32.eq $push3=, $0, $pop2
365 i32.const $push4=, 622
366 i32.ne $push5=, $0, $pop4
376 .size test4, .Lfunc_end13-test4
379 .type test5,@function
383 i32.and $0=, $0, $pop5
385 i32.and $1=, $1, $pop4
391 i32.store 0($pop7), $pop6
396 i32.store 0($pop9), $pop8
401 i32.store 0($pop3), $pop2
407 i32.store 0($pop1), $pop0
411 .size test5, .Lfunc_end14-test5
414 .type test6,@function
419 i32.and $2=, $0, $pop6
426 i32.store 0($pop8), $pop7
429 i32.const $push13=, 0
430 i32.const $push12=, 1
431 i32.store 0($pop13), $pop12
432 i32.const $push11=, 1
433 i32.and $push10=, $1, $pop11
434 tee_local $push9=, $0=, $pop10
435 i32.eqz $push17=, $pop9
437 i32.const $push15=, 0
438 i32.const $push14=, 1
439 i32.store 0($pop15), $pop14
444 i32.store 0($pop5), $pop4
450 i32.store 0($pop1), $pop0
455 i32.store 0($pop3), $pop2
459 .size test6, .Lfunc_end15-test6
462 .type test7,@function
467 i32.store 0($pop8), $pop7
469 i32.and $0=, $0, $pop6
472 i32.const $push10=, 0
474 i32.store 0($pop10), $pop9
477 i32.const $push13=, 0
478 i32.const $push12=, 2
479 i32.store 0($pop13), $pop12
480 i32.const $push11=, 1
481 i32.and $push0=, $1, $pop11
485 i32.store 0($pop2), $pop1
489 i32.const $push16=, 0
490 i32.const $push15=, 3
491 i32.store 0($pop16), $pop15
492 i32.const $push14=, 1
493 i32.and $push3=, $1, $pop14
498 i32.store 0($pop5), $pop4
502 .size test7, .Lfunc_end16-test7
505 .type test8,@function
517 .size test8, .Lfunc_end17-test8
520 .type test9,@function
522 i32.const $push11=, 0
523 i32.const $push10=, 0
524 i32.store 0($pop11), $pop10
528 i32.const $push14=, 0
529 i32.const $push13=, 1
530 i32.store 0($pop14), $pop13
531 i32.call $push0=, a@FUNCTION
532 i32.const $push12=, 1
533 i32.and $push1=, $pop0, $pop12
534 i32.eqz $push24=, $pop1
538 i32.const $push17=, 0
539 i32.const $push16=, 2
540 i32.store 0($pop17), $pop16
542 i32.call $push4=, a@FUNCTION
543 i32.const $push15=, 1
544 i32.and $push5=, $pop4, $pop15
545 i32.eqz $push25=, $pop5
547 i32.const $push20=, 0
548 i32.const $push19=, 3
549 i32.store 0($pop20), $pop19
550 i32.call $push8=, a@FUNCTION
551 i32.const $push18=, 1
552 i32.and $push9=, $pop8, $pop18
553 i32.eqz $push26=, $pop9
558 i32.const $push23=, 0
559 i32.const $push22=, 4
560 i32.store 0($pop23), $pop22
561 i32.call $push6=, a@FUNCTION
562 i32.const $push21=, 1
563 i32.and $push7=, $pop6, $pop21
564 i32.eqz $push27=, $pop7
573 i32.store 0($pop3), $pop2
577 .size test9, .Lfunc_end18-test9
580 .type test10,@function
582 .local i32, i32, i32, i32, i32
599 copy_local $push3=, $4
600 tee_local $push2=, $2=, $pop3
602 i32.gt_u $push0=, $pop2, $pop1
606 br_table $2, 1, 0, 4, 2, 3, 1
620 .size test10, .Lfunc_end19-test10
623 .type test11,@function
625 i32.const $push14=, 0
626 i32.const $push13=, 0
627 i32.store 0($pop14), $pop13
632 i32.const $push12=, 0
634 i32.const $push16=, 0
636 i32.store 0($pop16), $pop5
638 i32.const $push15=, 0
642 i32.store 0($pop7), $pop6
643 i32.const $push17=, 0
647 i32.const $push11=, 0
648 i32.const $push10=, 3
649 i32.store 0($pop11), $pop10
653 i32.const $push19=, 0
655 i32.store 0($pop19), $pop0
656 i32.const $push18=, 0
658 i32.const $push21=, 0
660 i32.store 0($pop21), $pop1
661 i32.const $push20=, 0
662 i32.eqz $push23=, $pop20
668 i32.store 0($pop9), $pop8
674 i32.store 0($pop4), $pop3
678 i32.const $push22=, 0
680 i32.store 0($pop22), $pop2
684 .size test11, .Lfunc_end20-test11
687 .type test12,@function
696 i32.load8_u $push7=, 0($0)
697 tee_local $push6=, $1=, $pop7
698 i32.const $push5=, 103
699 i32.gt_s $push0=, $pop6, $pop5
701 i32.const $push8=, 42
702 i32.eq $push3=, $1, $pop8
704 i32.const $push9=, 76
705 i32.eq $push4=, $1, $pop9
710 i32.const $push10=, 108
711 i32.eq $push1=, $1, $pop10
713 i32.const $push11=, 104
714 i32.ne $push2=, $1, $pop11
718 i32.const $push12=, 1
719 i32.add $0=, $0, $pop12
727 .size test12, .Lfunc_end21-test12
730 .type test13,@function
745 i32.and $push2=, $0, $pop1
756 .size test13, .Lfunc_end22-test13
759 .type test14,@function
774 .size test14, .Lfunc_end23-test14
777 .type test15,@function
792 i32.const $push4=, -4
793 i32.add $push3=, $0, $pop4
794 tee_local $push2=, $0=, $pop3
805 call test15_callee0@FUNCTION
809 call test15_callee1@FUNCTION
815 .size test15, .Lfunc_end24-test15
818 .functype something, void
821 .functype test15_callee0, void
822 .functype test15_callee1, void