]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/991112-1.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 991112-1.c.s
1 .text
2 .file "991112-1.c"
3 .section .text.rl_show_char,"ax",@progbits
4 .hidden rl_show_char # -- Begin function rl_show_char
5 .globl rl_show_char
6 .type rl_show_char,@function
7 rl_show_char: # @rl_show_char
8 .param i32
9 .result i32
10 # BB#0: # %entry
11 i32.const $push0=, 0
12 # fallthrough-return: $pop0
13 .endfunc
14 .Lfunc_end0:
15 .size rl_show_char, .Lfunc_end0-rl_show_char
16 # -- End function
17 .section .text.rl_character_len,"ax",@progbits
18 .hidden rl_character_len # -- Begin function rl_character_len
19 .globl rl_character_len
20 .type rl_character_len,@function
21 rl_character_len: # @rl_character_len
22 .param i32, i32
23 .result i32
24 # BB#0: # %entry
25 i32.const $push2=, 1
26 i32.const $push1=, 2
27 i32.call $push0=, isprint@FUNCTION, $0
28 i32.select $push3=, $pop2, $pop1, $pop0
29 # fallthrough-return: $pop3
30 .endfunc
31 .Lfunc_end1:
32 .size rl_character_len, .Lfunc_end1-rl_character_len
33 # -- End function
34 .section .text.main,"ax",@progbits
35 .hidden main # -- Begin function main
36 .globl main
37 .type main,@function
38 main: # @main
39 .result i32
40 # BB#0: # %entry
41 block
42 i32.const $push0=, 97
43 i32.call $push1=, isprint@FUNCTION, $pop0
44 i32.eqz $push5=, $pop1
45 br_if 0, $pop5 # 0: down to label0
46 # BB#1: # %if.end
47 i32.const $push2=, 2
48 i32.call $push3=, isprint@FUNCTION, $pop2
49 br_if 0, $pop3 # 0: down to label0
50 # BB#2: # %if.end4
51 i32.const $push4=, 0
52 return $pop4
53 .LBB2_3: # %if.then
54 end_block # label0:
55 call abort@FUNCTION
56 unreachable
57 .endfunc
58 .Lfunc_end2:
59 .size main, .Lfunc_end2-main
60 # -- End function
61
62 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
63 .functype isprint, i32, i32
64 .functype abort, void