]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/20000801-2.c.s
New upstream version 1.25.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 20000801-2.c.s
1 .text
2 .file "20000801-2.c"
3 .section .text.test,"ax",@progbits
4 .hidden test # -- Begin function test
5 .globl test
6 .type test,@function
7 test: # @test
8 .param i32
9 .result i32
10 # BB#0: # %entry
11 block
12 i32.eqz $push3=, $0
13 br_if 0, $pop3 # 0: down to label0
14 .LBB0_1: # %while.body
15 # =>This Inner Loop Header: Depth=1
16 loop # label1:
17 i32.load $push2=, 0($0)
18 tee_local $push1=, $0=, $pop2
19 br_if 0, $pop1 # 0: up to label1
20 .LBB0_2: # %while.end
21 end_loop
22 end_block # label0:
23 i32.const $push0=, 0
24 # fallthrough-return: $pop0
25 .endfunc
26 .Lfunc_end0:
27 .size test, .Lfunc_end0-test
28 # -- End function
29 .section .text.bar,"ax",@progbits
30 .hidden bar # -- Begin function bar
31 .globl bar
32 .type bar,@function
33 bar: # @bar
34 .result i32
35 # BB#0: # %entry
36 i32.const $push0=, 0
37 # fallthrough-return: $pop0
38 .endfunc
39 .Lfunc_end1:
40 .size bar, .Lfunc_end1-bar
41 # -- End function
42 .section .text.baz,"ax",@progbits
43 .hidden baz # -- Begin function baz
44 .globl baz
45 .type baz,@function
46 baz: # @baz
47 .result i32
48 # BB#0: # %entry
49 i32.const $push0=, 0
50 # fallthrough-return: $pop0
51 .endfunc
52 .Lfunc_end2:
53 .size baz, .Lfunc_end2-baz
54 # -- End function
55 .section .text.main,"ax",@progbits
56 .hidden main # -- Begin function main
57 .globl main
58 .type main,@function
59 main: # @main
60 .result i32
61 .local i32
62 # BB#0: # %entry
63 i32.const $push5=, 0
64 i32.const $push3=, 0
65 i32.load $push2=, __stack_pointer($pop3)
66 i32.const $push4=, 16
67 i32.sub $push11=, $pop2, $pop4
68 tee_local $push10=, $0=, $pop11
69 i32.store __stack_pointer($pop5), $pop10
70 i32.const $push0=, 0
71 i32.store 8($0), $pop0
72 i32.const $push6=, 8
73 i32.add $push7=, $0, $pop6
74 i32.store 12($0), $pop7
75 i32.const $push8=, 12
76 i32.add $push9=, $0, $pop8
77 copy_local $0=, $pop9
78 .LBB3_1: # %while.body.i
79 # =>This Inner Loop Header: Depth=1
80 loop # label2:
81 i32.load $push13=, 0($0)
82 tee_local $push12=, $0=, $pop13
83 br_if 0, $pop12 # 0: up to label2
84 # BB#2: # %if.end
85 end_loop
86 i32.const $push1=, 0
87 call exit@FUNCTION, $pop1
88 unreachable
89 .endfunc
90 .Lfunc_end3:
91 .size main, .Lfunc_end3-main
92 # -- End function
93
94 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
95 .functype exit, void, i32