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