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