]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/pr49073.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / pr49073.c.s
1 .text
2 .file "pr49073.c"
3 .section .text.main,"ax",@progbits
4 .hidden main # -- Begin function main
5 .globl main
6 .type main,@function
7 main: # @main
8 .result i32
9 .local i32, i32, i32
10 # BB#0: # %entry
11 i32.const $2=, 0
12 i32.const $1=, a+4
13 .LBB0_1: # %do.body
14 # =>This Inner Loop Header: Depth=1
15 block
16 block
17 loop # label2:
18 i32.load $0=, 0($1)
19 block
20 i32.const $push10=, 1
21 i32.and $push0=, $2, $pop10
22 i32.eqz $push18=, $pop0
23 br_if 0, $pop18 # 0: down to label3
24 # BB#2: # %do.body
25 # in Loop: Header=BB0_1 Depth=1
26 i32.const $push11=, 4
27 i32.eq $push1=, $0, $pop11
28 br_if 2, $pop1 # 2: down to label1
29 .LBB0_3: # %if.end
30 # in Loop: Header=BB0_1 Depth=1
31 end_block # label3:
32 i32.const $push14=, 4
33 i32.add $1=, $1, $pop14
34 i32.const $push13=, 3
35 i32.eq $2=, $0, $pop13
36 i32.const $push12=, 7
37 i32.lt_s $push2=, $0, $pop12
38 br_if 0, $pop2 # 0: up to label2
39 # BB#4: # %do.endthread-pre-split
40 end_loop
41 i32.const $push3=, 0
42 i32.load $0=, c($pop3)
43 br 1 # 1: down to label0
44 .LBB0_5: # %if.then
45 end_block # label1:
46 i32.const $push4=, 0
47 i32.const $push17=, 0
48 i32.load $push5=, c($pop17)
49 i32.const $push6=, 1
50 i32.add $push16=, $pop5, $pop6
51 tee_local $push15=, $0=, $pop16
52 i32.store c($pop4), $pop15
53 .LBB0_6: # %do.end
54 end_block # label0:
55 block
56 i32.const $push7=, 1
57 i32.ne $push8=, $0, $pop7
58 br_if 0, $pop8 # 0: down to label4
59 # BB#7: # %if.end6
60 i32.const $push9=, 0
61 return $pop9
62 .LBB0_8: # %if.then5
63 end_block # label4:
64 call abort@FUNCTION
65 unreachable
66 .endfunc
67 .Lfunc_end0:
68 .size main, .Lfunc_end0-main
69 # -- End function
70 .hidden a # @a
71 .type a,@object
72 .section .data.a,"aw",@progbits
73 .globl a
74 .p2align 4
75 a:
76 .int32 1 # 0x1
77 .int32 2 # 0x2
78 .int32 3 # 0x3
79 .int32 4 # 0x4
80 .int32 5 # 0x5
81 .int32 6 # 0x6
82 .int32 7 # 0x7
83 .size a, 28
84
85 .hidden c # @c
86 .type c,@object
87 .section .bss.c,"aw",@nobits
88 .globl c
89 .p2align 2
90 c:
91 .int32 0 # 0x0
92 .size c, 4
93
94
95 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
96 .functype abort, void