]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/20020805-1.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 20020805-1.c.s
1 .text
2 .file "20020805-1.c"
3 .section .text.check,"ax",@progbits
4 .hidden check # -- Begin function check
5 .globl check
6 .type check,@function
7 check: # @check
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 check, .Lfunc_end0-check
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 .result i32
30 .local i32
31 # BB#0: # %entry
32 i32.const $push2=, 2
33 i32.const $push0=, 0
34 i32.load $push10=, n($pop0)
35 tee_local $push9=, $0=, $pop10
36 i32.sub $push3=, $pop2, $pop9
37 i32.const $push8=, 0
38 i32.sub $push1=, $pop8, $0
39 i32.or $push4=, $pop3, $pop1
40 i32.const $push5=, 1
41 i32.or $push6=, $pop4, $pop5
42 call check@FUNCTION, $pop6
43 i32.const $push7=, 0
44 call exit@FUNCTION, $pop7
45 unreachable
46 .endfunc
47 .Lfunc_end1:
48 .size main, .Lfunc_end1-main
49 # -- End function
50 .hidden n # @n
51 .type n,@object
52 .section .data.n,"aw",@progbits
53 .globl n
54 .p2align 2
55 n:
56 .int32 1 # 0x1
57 .size n, 4
58
59
60 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
61 .functype abort, void
62 .functype exit, void, i32