]> git.proxmox.com Git - rustc.git/blame - src/binaryen/test/torture-s/pr28651.c.s
New upstream version 1.25.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / pr28651.c.s
CommitLineData
abe05a73
XL
1 .text
2 .file "pr28651.c"
3 .section .text.foo,"ax",@progbits
4 .hidden foo # -- Begin function foo
5 .globl foo
6 .type foo,@function
7foo: # @foo
8 .param i32
9 .result i32
10# BB#0: # %entry
11 i32.const $push0=, 2147483643
12 i32.gt_s $push1=, $0, $pop0
13 # fallthrough-return: $pop1
14 .endfunc
15.Lfunc_end0:
16 .size foo, .Lfunc_end0-foo
17 # -- End function
18 .section .text.main,"ax",@progbits
19 .hidden main # -- Begin function main
20 .globl main
21 .type main,@function
22main: # @main
23 .param i32, i32
24 .result i32
25# BB#0: # %entry
26 block
27 i32.const $push0=, 2147483647
28 i32.call $push1=, foo@FUNCTION, $pop0
29 i32.eqz $push3=, $pop1
30 br_if 0, $pop3 # 0: down to label0
31# BB#1: # %if.end
32 i32.const $push2=, 0
33 return $pop2
34.LBB1_2: # %if.then
35 end_block # label0:
36 call abort@FUNCTION
37 unreachable
38 .endfunc
39.Lfunc_end1:
40 .size main, .Lfunc_end1-main
41 # -- End function
42
43 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
44 .functype abort, void