]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/20041213-2.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 20041213-2.c.s
1 .text
2 .file "20041213-2.c"
3 .section .text.foo,"ax",@progbits
4 .hidden foo # -- Begin function foo
5 .globl foo
6 .type foo,@function
7 foo: # @foo
8 .param i32
9 .local i32, i32, i32
10 # BB#0: # %entry
11 block
12 block
13 i32.eqz $push9=, $0
14 br_if 0, $pop9 # 0: down to label1
15 # BB#1: # %for.body.preheader
16 i32.const $2=, 0
17 i32.const $3=, 1
18 .LBB0_2: # %for.body
19 # =>This Inner Loop Header: Depth=1
20 loop # label2:
21 block
22 block
23 copy_local $push4=, $3
24 tee_local $push3=, $1=, $pop4
25 i32.ge_s $push0=, $2, $pop3
26 br_if 0, $pop0 # 0: down to label4
27 # BB#3: # %for.end.thread
28 # in Loop: Header=BB0_2 Depth=1
29 i32.const $push5=, 1
30 i32.shl $push2=, $1, $pop5
31 i32.sub $3=, $pop2, $2
32 br 1 # 1: down to label3
33 .LBB0_4: # %for.end
34 # in Loop: Header=BB0_2 Depth=1
35 end_block # label4:
36 copy_local $3=, $1
37 i32.ne $push1=, $2, $1
38 br_if 3, $pop1 # 3: down to label0
39 .LBB0_5: # %for.cond
40 # in Loop: Header=BB0_2 Depth=1
41 end_block # label3:
42 copy_local $2=, $1
43 i32.const $push8=, -1
44 i32.add $push7=, $0, $pop8
45 tee_local $push6=, $0=, $pop7
46 br_if 0, $pop6 # 0: up to label2
47 .LBB0_6: # %for.end7
48 end_loop
49 end_block # label1:
50 return
51 .LBB0_7: # %if.then
52 end_block # label0:
53 call abort@FUNCTION
54 unreachable
55 .endfunc
56 .Lfunc_end0:
57 .size foo, .Lfunc_end0-foo
58 # -- End function
59 .section .text.main,"ax",@progbits
60 .hidden main # -- Begin function main
61 .globl main
62 .type main,@function
63 main: # @main
64 .result i32
65 # BB#0: # %entry
66 i32.const $push0=, 2
67 call foo@FUNCTION, $pop0
68 i32.const $push1=, 0
69 call exit@FUNCTION, $pop1
70 unreachable
71 .endfunc
72 .Lfunc_end1:
73 .size main, .Lfunc_end1-main
74 # -- End function
75
76 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
77 .functype abort, void
78 .functype exit, void, i32