]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/920909-1.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 920909-1.c.s
1 .text
2 .file "920909-1.c"
3 .section .text.f,"ax",@progbits
4 .hidden f # -- Begin function f
5 .globl f
6 .type f,@function
7 f: # @f
8 .param i32
9 .result i32
10 # BB#0: # %entry
11 block
12 i32.const $push0=, -1026
13 i32.add $push10=, $0, $pop0
14 tee_local $push9=, $0=, $pop10
15 i32.const $push1=, 5
16 i32.gt_u $push2=, $pop9, $pop1
17 br_if 0, $pop2 # 0: down to label0
18 # BB#1: # %switch.lookup
19 i32.const $push4=, 2
20 i32.shl $push5=, $0, $pop4
21 i32.const $push6=, .Lswitch.table.f
22 i32.add $push7=, $pop5, $pop6
23 i32.load $push8=, 0($pop7)
24 return $pop8
25 .LBB0_2: # %return
26 end_block # label0:
27 i32.const $push3=, 0
28 # fallthrough-return: $pop3
29 .endfunc
30 .Lfunc_end0:
31 .size f, .Lfunc_end0-f
32 # -- End function
33 .section .text.main,"ax",@progbits
34 .hidden main # -- Begin function main
35 .globl main
36 .type main,@function
37 main: # @main
38 .result i32
39 # BB#0: # %if.end
40 i32.const $push0=, 0
41 call exit@FUNCTION, $pop0
42 unreachable
43 .endfunc
44 .Lfunc_end1:
45 .size main, .Lfunc_end1-main
46 # -- End function
47 .type .Lswitch.table.f,@object # @switch.table.f
48 .section .rodata..Lswitch.table.f,"a",@progbits
49 .p2align 4
50 .Lswitch.table.f:
51 .int32 1027 # 0x403
52 .int32 1029 # 0x405
53 .int32 1031 # 0x407
54 .int32 1033 # 0x409
55 .int32 1 # 0x1
56 .int32 4 # 0x4
57 .size .Lswitch.table.f, 24
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 exit, void, i32