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