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