Revert "Reland "[compiler-rt][BF16] Provide __truncsfbf2 only when __bf16 is available""
authorPhoebe Wang <phoebe.wang@intel.com>
Wed, 10 Aug 2022 09:26:11 +0000 (17:26 +0800)
committerPhoebe Wang <phoebe.wang@intel.com>
Wed, 10 Aug 2022 09:27:44 +0000 (17:27 +0800)
commit800d5e178f2b36123f93d6d7733aa737da03b009
treedfecd481185d30952bab810256bbf2a160cef2b1
parentdf3ea7365eeac7b45044404e432dd33cca45d9fd
Revert "Reland "[compiler-rt][BF16] Provide __truncsfbf2 only when __bf16 is available""

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]"
compiler-rt/cmake/builtin-config-ix.cmake
compiler-rt/lib/builtins/CMakeLists.txt
compiler-rt/lib/builtins/fp_trunc.h
compiler-rt/lib/builtins/truncdfbf2.c
compiler-rt/lib/builtins/truncsfbf2.c