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