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