mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 18:26:05 +00:00

This reverts commit 0729d00135ccbe1514a49168bbf26986823235c2. Buildbot https://lab.llvm.org/buildbot/#/builders/19/builds/11989 failed with "error: ISO C requires a translation unit to contain at least one declaration [-Werror,-Wempty-translation-unit]"
14 lines
513 B
C
14 lines
513 B
C
//===-- lib/truncdfbf2.c - double -> bfloat conversion ------------*- C -*-===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#define SRC_DOUBLE
|
|
#define DST_BFLOAT
|
|
#include "fp_trunc_impl.inc"
|
|
|
|
COMPILER_RT_ABI dst_t __truncdfbf2(double a) { return __truncXfYf2__(a); }
|