]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/pr21173.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / pr21173.c.s
1 .text
2 .file "pr21173.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 # BB#0: # %entry
10 i32.const $push1=, 0
11 i32.const $push10=, 0
12 i32.load $push2=, a($pop10)
13 i32.const $push0=, q
14 i32.sub $push9=, $0, $pop0
15 tee_local $push8=, $0=, $pop9
16 i32.add $push3=, $pop2, $pop8
17 i32.store a($pop1), $pop3
18 i32.const $push7=, 0
19 i32.const $push6=, 0
20 i32.load $push4=, a+4($pop6)
21 i32.add $push5=, $pop4, $0
22 i32.store a+4($pop7), $pop5
23 # fallthrough-return
24 .endfunc
25 .Lfunc_end0:
26 .size foo, .Lfunc_end0-foo
27 # -- End function
28 .section .text.main,"ax",@progbits
29 .hidden main # -- Begin function main
30 .globl main
31 .type main,@function
32 main: # @main
33 .result i32
34 # BB#0: # %entry
35 block
36 i32.const $push4=, 0
37 i32.load $push1=, a($pop4)
38 i32.const $push3=, 0
39 i32.load $push0=, a+4($pop3)
40 i32.or $push2=, $pop1, $pop0
41 br_if 0, $pop2 # 0: down to label0
42 # BB#1: # %for.cond.1
43 i32.const $push5=, 0
44 return $pop5
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 q # @q
54 .type q,@object
55 .section .bss.q,"aw",@nobits
56 .globl q
57 q:
58 .int8 0 # 0x0
59 .size q, 1
60
61 .hidden a # @a
62 .type a,@object
63 .section .bss.a,"aw",@nobits
64 .globl a
65 .p2align 2
66 a:
67 .skip 8
68 .size a, 8
69
70
71 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
72 .functype abort, void