]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/20020213-1.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 20020213-1.c.s
1 .text
2 .file "20020213-1.c"
3 .section .text.foo,"ax",@progbits
4 .hidden foo # -- Begin function foo
5 .globl foo
6 .type foo,@function
7 foo: # @foo
8 .local i32, i32
9 # BB#0: # %entry
10 i32.const $push0=, 0
11 i32.const $push12=, 0
12 i32.load $push11=, b($pop12)
13 tee_local $push10=, $0=, $pop11
14 i32.const $push1=, -1
15 i32.add $push9=, $pop10, $pop1
16 tee_local $push8=, $1=, $pop9
17 i32.const $push2=, 2241
18 i32.const $push7=, 2241
19 i32.lt_s $push3=, $1, $pop7
20 i32.select $push4=, $pop8, $pop2, $pop3
21 i32.store a+4($pop0), $pop4
22 block
23 i32.const $push5=, 2242
24 i32.le_s $push6=, $0, $pop5
25 br_if 0, $pop6 # 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.bar,"ax",@progbits
37 .hidden bar # -- Begin function bar
38 .globl bar
39 .type bar,@function
40 bar: # @bar
41 .param f32
42 .result i32
43 # BB#0: # %entry
44 i32.const $push0=, 2241
45 # fallthrough-return: $pop0
46 .endfunc
47 .Lfunc_end1:
48 .size bar, .Lfunc_end1-bar
49 # -- End function
50 .section .text.main,"ax",@progbits
51 .hidden main # -- Begin function main
52 .globl main
53 .type main,@function
54 main: # @main
55 .result i32
56 # BB#0: # %foo.exit
57 i32.const $push1=, 0
58 i32.const $push0=, 3384
59 i32.store b($pop1), $pop0
60 i32.const $push4=, 0
61 i64.const $push2=, 9626087063552
62 i64.store a($pop4):p2align=2, $pop2
63 i32.const $push3=, 0
64 # fallthrough-return: $pop3
65 .endfunc
66 .Lfunc_end2:
67 .size main, .Lfunc_end2-main
68 # -- End function
69 .hidden a # @a
70 .type a,@object
71 .section .bss.a,"aw",@nobits
72 .globl a
73 .p2align 2
74 a:
75 .skip 8
76 .size a, 8
77
78 .hidden b # @b
79 .type b,@object
80 .section .bss.b,"aw",@nobits
81 .globl b
82 .p2align 2
83 b:
84 .int32 0 # 0x0
85 .size b, 4
86
87
88 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
89 .functype abort, void