]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/20100805-1.c.s
New upstream version 1.25.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 20100805-1.c.s
1 .text
2 .file "20100805-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, i32
9 .result i32
10 # BB#0: # %entry
11 i32.const $push0=, 1
12 i32.and $0=, $0, $pop0
13 block
14 i32.eqz $push5=, $1
15 br_if 0, $pop5 # 0: down to label0
16 # BB#1: # %for.body.preheader
17 .LBB0_2: # %for.body
18 # =>This Inner Loop Header: Depth=1
19 loop # label1:
20 i32.const $push4=, 1
21 i32.rotl $0=, $0, $pop4
22 i32.const $push3=, -1
23 i32.add $push2=, $1, $pop3
24 tee_local $push1=, $1=, $pop2
25 br_if 0, $pop1 # 0: up to label1
26 .LBB0_3: # %for.end
27 end_loop
28 end_block # label0:
29 copy_local $push6=, $0
30 # fallthrough-return: $pop6
31 .endfunc
32 .Lfunc_end0:
33 .size foo, .Lfunc_end0-foo
34 # -- End function
35 .section .text.main,"ax",@progbits
36 .hidden main # -- Begin function main
37 .globl main
38 .type main,@function
39 main: # @main
40 .result i32
41 # BB#0: # %if.end
42 i32.const $push0=, 0
43 # fallthrough-return: $pop0
44 .endfunc
45 .Lfunc_end1:
46 .size main, .Lfunc_end1-main
47 # -- End function
48
49 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"