]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/20000224-1.c.s
New upstream version 1.25.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 20000224-1.c.s
1 .text
2 .file "20000224-1.c"
3 .section .text.test,"ax",@progbits
4 .hidden test # -- Begin function test
5 .globl test
6 .type test,@function
7 test: # @test
8 .result i32
9 .local i32, i32, i32, i32, i32
10 # BB#0: # %entry
11 block
12 i32.const $push10=, 0
13 i32.load $push9=, loop_1($pop10)
14 tee_local $push8=, $0=, $pop9
15 i32.const $push7=, 1
16 i32.lt_s $push0=, $pop8, $pop7
17 br_if 0, $pop0 # 0: down to label0
18 # BB#1: # %while.body.lr.ph
19 i32.const $push12=, 0
20 i32.load $3=, flag($pop12)
21 i32.const $push11=, 0
22 i32.load $1=, loop_2($pop11)
23 i32.const $4=, 0
24 .LBB0_2: # %while.body
25 # =>This Inner Loop Header: Depth=1
26 loop # label1:
27 i32.const $push19=, 1
28 i32.and $2=, $3, $pop19
29 i32.const $push18=, 1
30 i32.add $3=, $3, $pop18
31 i32.const $push17=, 0
32 i32.sub $push3=, $pop17, $2
33 i32.const $push16=, 0
34 i32.const $push15=, 1
35 i32.lt_s $push1=, $1, $pop15
36 i32.select $push2=, $pop16, $1, $pop1
37 i32.and $push4=, $pop3, $pop2
38 i32.add $push14=, $4, $pop4
39 tee_local $push13=, $4=, $pop14
40 i32.gt_s $push5=, $0, $pop13
41 br_if 0, $pop5 # 0: up to label1
42 # BB#3: # %while.cond.while.end_crit_edge
43 end_loop
44 i32.const $push6=, 0
45 i32.store flag($pop6), $3
46 .LBB0_4: # %while.end
47 end_block # label0:
48 i32.const $push20=, 1
49 # fallthrough-return: $pop20
50 .endfunc
51 .Lfunc_end0:
52 .size test, .Lfunc_end0-test
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 # BB#0: # %entry
61 i32.call $drop=, test@FUNCTION
62 i32.const $push0=, 0
63 call exit@FUNCTION, $pop0
64 unreachable
65 .endfunc
66 .Lfunc_end1:
67 .size main, .Lfunc_end1-main
68 # -- End function
69 .hidden loop_1 # @loop_1
70 .type loop_1,@object
71 .section .data.loop_1,"aw",@progbits
72 .globl loop_1
73 .p2align 2
74 loop_1:
75 .int32 100 # 0x64
76 .size loop_1, 4
77
78 .hidden loop_2 # @loop_2
79 .type loop_2,@object
80 .section .data.loop_2,"aw",@progbits
81 .globl loop_2
82 .p2align 2
83 loop_2:
84 .int32 7 # 0x7
85 .size loop_2, 4
86
87 .hidden flag # @flag
88 .type flag,@object
89 .section .bss.flag,"aw",@nobits
90 .globl flag
91 .p2align 2
92 flag:
93 .int32 0 # 0x0
94 .size flag, 4
95
96
97 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
98 .functype exit, void, i32