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