]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/pr22098-3.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / pr22098-3.c.s
1 .text
2 .file "pr22098-3.c"
3 .section .text.f,"ax",@progbits
4 .hidden f # -- Begin function f
5 .globl f
6 .type f,@function
7 f: # @f
8 .result i32
9 .local i32
10 # BB#0: # %entry
11 i32.const $push0=, 0
12 i32.const $push5=, 0
13 i32.load $push1=, n($pop5)
14 i32.const $push2=, 1
15 i32.add $push4=, $pop1, $pop2
16 tee_local $push3=, $0=, $pop4
17 i32.store n($pop0), $pop3
18 copy_local $push6=, $0
19 # fallthrough-return: $pop6
20 .endfunc
21 .Lfunc_end0:
22 .size f, .Lfunc_end0-f
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
31 # BB#0: # %entry
32 i32.const $push5=, 0
33 i32.const $push4=, 0
34 i32.load $push3=, n($pop4)
35 tee_local $push2=, $0=, $pop3
36 i32.const $push0=, 1
37 i32.add $push1=, $pop2, $pop0
38 i32.store n($pop5), $pop1
39 block
40 br_if 0, $0 # 0: down to label0
41 # BB#1: # %if.end
42 i32.const $push6=, 0
43 call exit@FUNCTION, $pop6
44 unreachable
45 .LBB1_2: # %if.then
46 end_block # label0:
47 call abort@FUNCTION
48 unreachable
49 .endfunc
50 .Lfunc_end1:
51 .size main, .Lfunc_end1-main
52 # -- End function
53 .hidden n # @n
54 .type n,@object
55 .section .bss.n,"aw",@nobits
56 .globl n
57 .p2align 2
58 n:
59 .int32 0 # 0x0
60 .size n, 4
61
62
63 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
64 .functype abort, void
65 .functype exit, void, i32