]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/pr57130.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / pr57130.c.s
1 .text
2 .file "pr57130.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
10 # BB#0: # %entry
11 i32.const $push0=, 0
12 i32.const $push11=, 0
13 i32.load $push10=, foo.cnt($pop11)
14 tee_local $push9=, $1=, $pop10
15 i32.const $push1=, 1
16 i32.add $push2=, $pop9, $pop1
17 i32.store foo.cnt($pop0), $pop2
18 block
19 i32.const $push3=, 4
20 i32.shl $push4=, $1, $pop3
21 i32.const $push5=, s
22 i32.add $push6=, $pop4, $pop5
23 i32.const $push7=, 16
24 i32.call $push8=, memcmp@FUNCTION, $0, $pop6, $pop7
25 br_if 0, $pop8 # 0: down to label0
26 # BB#1: # %if.end
27 return
28 .LBB0_2: # %if.then
29 end_block # label0:
30 call abort@FUNCTION
31 unreachable
32 .endfunc
33 .Lfunc_end0:
34 .size foo, .Lfunc_end0-foo
35 # -- End function
36 .section .text.main,"ax",@progbits
37 .hidden main # -- Begin function main
38 .globl main
39 .type main,@function
40 main: # @main
41 .result i32
42 .local i32
43 # BB#0: # %entry
44 i32.const $push11=, 0
45 i32.const $push9=, 0
46 i32.load $push8=, __stack_pointer($pop9)
47 i32.const $push10=, 48
48 i32.sub $push25=, $pop8, $pop10
49 tee_local $push24=, $0=, $pop25
50 i32.store __stack_pointer($pop11), $pop24
51 i32.const $push15=, 16
52 i32.add $push16=, $0, $pop15
53 i32.const $push2=, 8
54 i32.add $push3=, $pop16, $pop2
55 i32.const $push0=, 0
56 i64.load $push1=, .Lmain.r+8($pop0):p2align=2
57 i64.store 0($pop3), $pop1
58 i32.const $push23=, 0
59 i64.load $push4=, .Lmain.r($pop23):p2align=2
60 i64.store 16($0), $pop4
61 i32.const $push17=, 16
62 i32.add $push18=, $0, $pop17
63 call foo@FUNCTION, $pop18
64 i32.const $push22=, 8
65 i32.add $push5=, $0, $pop22
66 i64.const $push6=, 12884901887
67 i64.store 0($pop5), $pop6
68 i64.const $push21=, 12884901887
69 i64.store 40($0), $pop21
70 i64.const $push7=, 8589934592
71 i64.store 0($0), $pop7
72 i64.const $push20=, 8589934592
73 i64.store 32($0), $pop20
74 call foo@FUNCTION, $0
75 i32.const $push14=, 0
76 i32.const $push12=, 48
77 i32.add $push13=, $0, $pop12
78 i32.store __stack_pointer($pop14), $pop13
79 i32.const $push19=, 0
80 # fallthrough-return: $pop19
81 .endfunc
82 .Lfunc_end1:
83 .size main, .Lfunc_end1-main
84 # -- End function
85 .hidden s # @s
86 .type s,@object
87 .section .data.s,"aw",@progbits
88 .globl s
89 .p2align 4
90 s:
91 .int32 6 # 0x6
92 .int32 8 # 0x8
93 .int32 4294967288 # 0xfffffff8
94 .int32 4294967291 # 0xfffffffb
95 .int32 0 # 0x0
96 .int32 2 # 0x2
97 .int32 4294967295 # 0xffffffff
98 .int32 2 # 0x2
99 .size s, 32
100
101 .type foo.cnt,@object # @foo.cnt
102 .section .bss.foo.cnt,"aw",@nobits
103 .p2align 2
104 foo.cnt:
105 .int32 0 # 0x0
106 .size foo.cnt, 4
107
108 .type .Lmain.r,@object # @main.r
109 .section .rodata.cst16,"aM",@progbits,16
110 .p2align 2
111 .Lmain.r:
112 .int32 6 # 0x6
113 .int32 8 # 0x8
114 .int32 4294967288 # 0xfffffff8
115 .int32 4294967291 # 0xfffffffb
116 .size .Lmain.r, 16
117
118
119 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
120 .functype memcmp, i32, i32, i32, i32
121 .functype abort, void