]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/960311-3.c.s
New upstream version 1.25.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 960311-3.c.s
1 .text
2 .file "960311-3.c"
3 .section .text.a1,"ax",@progbits
4 .hidden a1 # -- Begin function a1
5 .globl a1
6 .type a1,@function
7 a1: # @a1
8 # BB#0: # %entry
9 i32.const $push0=, 0
10 i32.const $push4=, 0
11 i32.load $push1=, count($pop4)
12 i32.const $push2=, 1
13 i32.add $push3=, $pop1, $pop2
14 i32.store count($pop0), $pop3
15 # fallthrough-return
16 .endfunc
17 .Lfunc_end0:
18 .size a1, .Lfunc_end0-a1
19 # -- End function
20 .section .text.b,"ax",@progbits
21 .hidden b # -- Begin function b
22 .globl b
23 .type b,@function
24 b: # @b
25 .param i32
26 # BB#0: # %entry
27 block
28 i32.const $push0=, -1
29 i32.gt_s $push1=, $0, $pop0
30 br_if 0, $pop1 # 0: down to label0
31 # BB#1: # %if.then
32 i32.const $push2=, 0
33 i32.const $push18=, 0
34 i32.load $push3=, count($pop18)
35 i32.const $push4=, 1
36 i32.add $push5=, $pop3, $pop4
37 i32.store count($pop2), $pop5
38 .LBB1_2: # %if.end
39 end_block # label0:
40 block
41 i32.const $push6=, 1073741824
42 i32.and $push7=, $0, $pop6
43 i32.eqz $push21=, $pop7
44 br_if 0, $pop21 # 0: down to label1
45 # BB#3: # %if.then3
46 i32.const $push8=, 0
47 i32.const $push19=, 0
48 i32.load $push9=, count($pop19)
49 i32.const $push10=, 1
50 i32.add $push11=, $pop9, $pop10
51 i32.store count($pop8), $pop11
52 .LBB1_4: # %if.end4
53 end_block # label1:
54 block
55 i32.const $push12=, 536870912
56 i32.and $push13=, $0, $pop12
57 i32.eqz $push22=, $pop13
58 br_if 0, $pop22 # 0: down to label2
59 # BB#5: # %if.then8
60 i32.const $push14=, 0
61 i32.const $push20=, 0
62 i32.load $push15=, count($pop20)
63 i32.const $push16=, 1
64 i32.add $push17=, $pop15, $pop16
65 i32.store count($pop14), $pop17
66 .LBB1_6: # %if.end9
67 end_block # label2:
68 # fallthrough-return
69 .endfunc
70 .Lfunc_end1:
71 .size b, .Lfunc_end1-b
72 # -- End function
73 .section .text.main,"ax",@progbits
74 .hidden main # -- Begin function main
75 .globl main
76 .type main,@function
77 main: # @main
78 .result i32
79 # BB#0: # %if.end21
80 i32.const $push1=, 0
81 i32.const $push0=, 3
82 i32.store count($pop1), $pop0
83 i32.const $push2=, 0
84 call exit@FUNCTION, $pop2
85 unreachable
86 .endfunc
87 .Lfunc_end2:
88 .size main, .Lfunc_end2-main
89 # -- End function
90 .hidden count # @count
91 .type count,@object
92 .section .bss.count,"aw",@nobits
93 .globl count
94 .p2align 2
95 count:
96 .int32 0 # 0x0
97 .size count, 4
98
99
100 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
101 .functype exit, void, i32