]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/pr57124.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / pr57124.c.s
1 .text
2 .file "pr57124.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, i32
9 .result i32
10 # BB#0: # %entry
11 block
12 i32.load16_u $push0=, 0($0)
13 i32.const $push1=, 4095
14 i32.gt_u $push2=, $pop0, $pop1
15 br_if 0, $pop2 # 0: down to label0
16 # BB#1: # %if.then
17 call abort@FUNCTION
18 unreachable
19 .LBB0_2: # %if.end
20 end_block # label0:
21 i32.const $push3=, 0
22 call exit@FUNCTION, $pop3
23 unreachable
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 .local i32
35 # BB#0: # %entry
36 i32.const $push4=, 0
37 i32.const $push2=, 0
38 i32.load $push1=, __stack_pointer($pop2)
39 i32.const $push3=, 16
40 i32.sub $push10=, $pop1, $pop3
41 tee_local $push9=, $0=, $pop10
42 i32.store __stack_pointer($pop4), $pop9
43 i32.const $push0=, 65531
44 i32.store16 14($0), $pop0
45 i32.const $push5=, 14
46 i32.add $push6=, $0, $pop5
47 i32.const $push7=, 12
48 i32.add $push8=, $0, $pop7
49 i32.call $drop=, foo@FUNCTION, $pop6, $pop8
50 unreachable
51 .endfunc
52 .Lfunc_end1:
53 .size main, .Lfunc_end1-main
54 # -- End function
55
56 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
57 .functype abort, void
58 .functype exit, void, i32