]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/vrp-7.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / vrp-7.c.s
1 .text
2 .file "vrp-7.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 i32.const $push4=, 0
11 i32.const $push9=, 0
12 i32.load8_u $push5=, t($pop9)
13 i32.const $push6=, 254
14 i32.and $push7=, $pop5, $pop6
15 i32.const $push0=, 4
16 i32.shr_u $push1=, $0, $pop0
17 i32.const $push2=, 1
18 i32.and $push3=, $pop1, $pop2
19 i32.or $push8=, $pop7, $pop3
20 i32.store8 t($pop4), $pop8
21 # fallthrough-return
22 .endfunc
23 .Lfunc_end0:
24 .size foo, .Lfunc_end0-foo
25 # -- End function
26 .section .text.main,"ax",@progbits
27 .hidden main # -- Begin function main
28 .globl main
29 .type main,@function
30 main: # @main
31 .result i32
32 # BB#0: # %entry
33 i32.const $push0=, 16
34 call foo@FUNCTION, $pop0
35 block
36 i32.const $push4=, 0
37 i32.load8_u $push1=, t($pop4)
38 i32.const $push2=, 1
39 i32.and $push3=, $pop1, $pop2
40 i32.eqz $push6=, $pop3
41 br_if 0, $pop6 # 0: down to label0
42 # BB#1: # %if.end
43 i32.const $push5=, 0
44 return $pop5
45 .LBB1_2: # %if.then
46 end_block # label0:
47 call abort@FUNCTION
48 unreachable
49 .endfunc
50 .Lfunc_end1:
51 .size main, .Lfunc_end1-main
52 # -- End function
53 .hidden t # @t
54 .type t,@object
55 .section .bss.t,"aw",@nobits
56 .globl t
57 .p2align 2
58 t:
59 .skip 4
60 .size t, 4
61
62
63 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
64 .functype abort, void