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