]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/20000503-1.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 20000503-1.c.s
1 .text
2 .file "20000503-1.c"
3 .section .text.sub,"ax",@progbits
4 .hidden sub # -- Begin function sub
5 .globl sub
6 .type sub,@function
7 sub: # @sub
8 .param i32
9 .result i32
10 # BB#0: # %entry
11 i32.const $push0=, -2
12 i32.add $push8=, $0, $pop0
13 tee_local $push7=, $0=, $pop8
14 i32.const $push1=, 0
15 i32.const $push6=, 0
16 i32.gt_s $push2=, $0, $pop6
17 i32.select $push3=, $pop7, $pop1, $pop2
18 i32.const $push4=, 2
19 i32.shl $push5=, $pop3, $pop4
20 # fallthrough-return: $pop5
21 .endfunc
22 .Lfunc_end0:
23 .size sub, .Lfunc_end0-sub
24 # -- End function
25 .section .text.main,"ax",@progbits
26 .hidden main # -- Begin function main
27 .globl main
28 .type main,@function
29 main: # @main
30 .result i32
31 # BB#0: # %if.end
32 i32.const $push0=, 0
33 call exit@FUNCTION, $pop0
34 unreachable
35 .endfunc
36 .Lfunc_end1:
37 .size main, .Lfunc_end1-main
38 # -- End function
39
40 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
41 .functype exit, void, i32