]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/990525-1.c.s
New upstream version 1.25.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 990525-1.c.s
1 .text
2 .file "990525-1.c"
3 .section .text.die,"ax",@progbits
4 .hidden die # -- Begin function die
5 .globl die
6 .type die,@function
7 die: # @die
8 .param i32
9 # BB#0: # %entry
10 block
11 i32.load $push0=, 0($0)
12 i32.const $push1=, 1
13 i32.ne $push2=, $pop0, $pop1
14 br_if 0, $pop2 # 0: down to label0
15 # BB#1: # %if.end
16 return
17 .LBB0_2: # %if.then
18 end_block # label0:
19 call abort@FUNCTION
20 unreachable
21 .endfunc
22 .Lfunc_end0:
23 .size die, .Lfunc_end0-die
24 # -- End function
25 .section .text.main,"ax",@progbits
26 .hidden main # -- Begin function main
27 .globl main
28 .type main,@function
29 main: # @main
30 .result i32
31 .local i32
32 # BB#0: # %entry
33 i32.const $push5=, 0
34 i32.const $push3=, 0
35 i32.load $push2=, __stack_pointer($pop3)
36 i32.const $push4=, 16
37 i32.sub $push10=, $pop2, $pop4
38 tee_local $push9=, $0=, $pop10
39 i32.store __stack_pointer($pop5), $pop9
40 i32.const $push0=, 0
41 i64.load $push1=, .Lmain.s($pop0):p2align=2
42 i64.store 8($0), $pop1
43 i32.const $push6=, 8
44 i32.add $push7=, $0, $pop6
45 call die@FUNCTION, $pop7
46 i32.const $push8=, 0
47 call exit@FUNCTION, $pop8
48 unreachable
49 .endfunc
50 .Lfunc_end1:
51 .size main, .Lfunc_end1-main
52 # -- End function
53 .type .Lmain.s,@object # @main.s
54 .section .rodata.cst8,"aM",@progbits,8
55 .p2align 2
56 .Lmain.s:
57 .int32 1 # 0x1
58 .int32 2 # 0x2
59 .size .Lmain.s, 8
60
61
62 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
63 .functype abort, void
64 .functype exit, void, i32