]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/960312-1.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 960312-1.c.s
1 .text
2 .file "960312-1.c"
3 .section .text.f,"ax",@progbits
4 .hidden f # -- Begin function f
5 .globl f
6 .type f,@function
7 f: # @f
8 .param i32
9 .result i32
10 .local i32, i32, i32, i32, i32, i32, i32
11 # BB#0: # %entry
12 i32.const $push0=, 16
13 i32.add $push4=, $0, $pop0
14 tee_local $push3=, $3=, $pop4
15 i32.load $4=, 0($pop3)
16 i32.load $5=, 12($0)
17 i32.load $push2=, 8($0)
18 tee_local $push1=, $6=, $pop2
19 i32.load $7=, 0($pop1)
20 i32.load $2=, 8($6)
21 i32.load $1=, 4($6)
22 #APP
23 #NO_APP
24 i32.store 0($6), $4
25 i32.store 8($6), $7
26 i32.store 0($0), $6
27 i32.store 12($0), $2
28 i32.store 0($3), $5
29 i32.store 4($0), $1
30 copy_local $push5=, $0
31 # fallthrough-return: $pop5
32 .endfunc
33 .Lfunc_end0:
34 .size f, .Lfunc_end0-f
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, i32, i32
43 # BB#0: # %entry
44 i32.const $push7=, 0
45 i32.load $2=, main.sc($pop7)
46 i32.const $push6=, 0
47 i32.load $1=, main.sc+8($pop6)
48 i32.const $push5=, 0
49 i32.load $0=, main.sc+4($pop5)
50 #APP
51 #NO_APP
52 i32.const $push4=, 0
53 i32.const $push0=, 11
54 i32.store main.sc($pop4), $pop0
55 i32.const $push3=, 0
56 i32.store main.sc+8($pop3), $2
57 block
58 i32.const $push1=, 2
59 i32.ne $push2=, $2, $pop1
60 br_if 0, $pop2 # 0: down to label0
61 # BB#1: # %if.end
62 i32.const $push8=, 0
63 call exit@FUNCTION, $pop8
64 unreachable
65 .LBB1_2: # %if.then
66 end_block # label0:
67 call abort@FUNCTION
68 unreachable
69 .endfunc
70 .Lfunc_end1:
71 .size main, .Lfunc_end1-main
72 # -- End function
73 .type main.sc,@object # @main.sc
74 .section .data.main.sc,"aw",@progbits
75 .p2align 2
76 main.sc:
77 .int32 2 # 0x2
78 .int32 3 # 0x3
79 .int32 4 # 0x4
80 .size main.sc, 12
81
82
83 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
84 .functype abort, void
85 .functype exit, void, i32