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