]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/20020402-3.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 20020402-3.c.s
1 .text
2 .file "20020402-3.c"
3 .section .text.blockvector_for_pc_sect,"ax",@progbits
4 .hidden blockvector_for_pc_sect # -- Begin function blockvector_for_pc_sect
5 .globl blockvector_for_pc_sect
6 .type blockvector_for_pc_sect,@function
7 blockvector_for_pc_sect: # @blockvector_for_pc_sect
8 .param i64, i32
9 .result i32
10 .local i32, i32, i32, i32, i32, i32
11 # BB#0: # %entry
12 i32.const $7=, 0
13 block
14 block
15 i32.load $push21=, 0($1)
16 tee_local $push20=, $2=, $pop21
17 i32.load $push19=, 0($pop20)
18 tee_local $push18=, $1=, $pop19
19 i32.const $push17=, 2
20 i32.lt_s $push0=, $pop18, $pop17
21 br_if 0, $pop0 # 0: down to label1
22 # BB#1: # %while.body.preheader
23 i32.const $7=, 0
24 copy_local $6=, $1
25 .LBB0_2: # %while.body
26 # =>This Inner Loop Header: Depth=1
27 loop # label2:
28 i32.const $push34=, 1
29 i32.add $push1=, $1, $pop34
30 i32.const $push33=, 1
31 i32.shr_s $push32=, $pop1, $pop33
32 tee_local $push31=, $3=, $pop32
33 i32.add $push30=, $pop31, $7
34 tee_local $push29=, $1=, $pop30
35 i32.sub $4=, $6, $pop29
36 i32.const $push28=, 2
37 i32.shl $push2=, $1, $pop28
38 i32.add $push3=, $2, $pop2
39 i32.const $push27=, 4
40 i32.add $push4=, $pop3, $pop27
41 i32.load $push5=, 0($pop4)
42 i64.load $push6=, 0($pop5)
43 i64.gt_u $push26=, $pop6, $0
44 tee_local $push25=, $5=, $pop26
45 i32.select $6=, $1, $6, $pop25
46 i32.select $7=, $7, $1, $5
47 i32.select $push24=, $3, $4, $5
48 tee_local $push23=, $1=, $pop24
49 i32.const $push22=, 1
50 i32.gt_s $push7=, $pop23, $pop22
51 br_if 0, $pop7 # 0: up to label2
52 # BB#3: # %while.end
53 end_loop
54 i32.const $1=, 0
55 i32.const $push35=, 0
56 i32.lt_s $push8=, $7, $pop35
57 br_if 1, $pop8 # 1: down to label0
58 .LBB0_4: # %while.body10.preheader
59 end_block # label1:
60 i32.const $push37=, 1
61 i32.add $6=, $7, $pop37
62 i32.const $push36=, 2
63 i32.shl $push9=, $7, $pop36
64 i32.add $push10=, $2, $pop9
65 i32.const $push11=, 4
66 i32.add $1=, $pop10, $pop11
67 .LBB0_5: # %while.body10
68 # =>This Inner Loop Header: Depth=1
69 block
70 loop # label4:
71 i32.load $push12=, 0($1)
72 i64.load $push13=, 8($pop12)
73 i64.gt_u $push14=, $pop13, $0
74 br_if 1, $pop14 # 1: down to label3
75 # BB#6: # %while.cond8
76 # in Loop: Header=BB0_5 Depth=1
77 i32.const $push42=, -4
78 i32.add $1=, $1, $pop42
79 i32.const $push41=, -1
80 i32.add $push40=, $6, $pop41
81 tee_local $push39=, $6=, $pop40
82 i32.const $push38=, 1
83 i32.ge_s $push15=, $pop39, $pop38
84 br_if 0, $pop15 # 0: up to label4
85 # BB#7:
86 end_loop
87 i32.const $push16=, 0
88 return $pop16
89 .LBB0_8:
90 end_block # label3:
91 copy_local $1=, $2
92 .LBB0_9: # %cleanup
93 end_block # label0:
94 copy_local $push43=, $1
95 # fallthrough-return: $pop43
96 .endfunc
97 .Lfunc_end0:
98 .size blockvector_for_pc_sect, .Lfunc_end0-blockvector_for_pc_sect
99 # -- End function
100 .section .text.main,"ax",@progbits
101 .hidden main # -- Begin function main
102 .globl main
103 .type main,@function
104 main: # @main
105 .result i32
106 # BB#0: # %entry
107 i32.const $push0=, 0
108 # fallthrough-return: $pop0
109 .endfunc
110 .Lfunc_end1:
111 .size main, .Lfunc_end1-main
112 # -- End function
113
114 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"