]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/20020418-1.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 20020418-1.c.s
1 .text
2 .file "20020418-1.c"
3 .section .text.gcc_crash,"ax",@progbits
4 .hidden gcc_crash # -- Begin function gcc_crash
5 .globl gcc_crash
6 .type gcc_crash,@function
7 gcc_crash: # @gcc_crash
8 .param i32
9 .local i32, i32
10 # BB#0: # %entry
11 block
12 i32.load $push4=, 0($0)
13 tee_local $push3=, $2=, $pop4
14 i32.const $push0=, 51
15 i32.le_s $push1=, $pop3, $pop0
16 br_if 0, $pop1 # 0: down to label0
17 # BB#1: # %if.end
18 i32.const $push2=, 60
19 i32.gt_s $1=, $2, $pop2
20 .LBB0_2: # %top
21 # =>This Inner Loop Header: Depth=1
22 loop # label1:
23 i32.const $push5=, 1
24 i32.add $2=, $2, $pop5
25 br_if 0, $1 # 0: up to label1
26 # BB#3: # %if.end6
27 end_loop
28 i32.store 0($0), $2
29 return
30 .LBB0_4: # %if.then
31 end_block # label0:
32 unreachable
33 unreachable
34 .endfunc
35 .Lfunc_end0:
36 .size gcc_crash, .Lfunc_end0-gcc_crash
37 # -- End function
38 .section .text.main,"ax",@progbits
39 .hidden main # -- Begin function main
40 .globl main
41 .type main,@function
42 main: # @main
43 .result i32
44 # BB#0: # %gcc_crash.exit
45 i32.const $push0=, 0
46 call exit@FUNCTION, $pop0
47 unreachable
48 .endfunc
49 .Lfunc_end1:
50 .size main, .Lfunc_end1-main
51 # -- End function
52
53 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
54 .functype exit, void, i32