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