Phoebe Wang
800d5e178f
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]"
2022-08-10 17:27:44 +08:00
Phoebe Wang
0729d00135
Reland "[compiler-rt][BF16] Provide __truncsfbf2 only when __bf16 is available"
...
Disable the build on macOS due to the bot fail.
Reviewed By: bkramer
Differential Revision: https://reviews.llvm.org/D131147
2022-08-10 13:27:21 +08:00
Med Ismail Bennani
5990cf3806
Revert "Reland "[compiler-rt][BF16] Provide __truncsfbf2 only when __bf16 is available""
...
This reverts commit ab4e5ed441d475ead43bc4ce1cdef842688292f4 since it
causes a build failure on macOS:
https://green.lab.llvm.org/green/job/lldb-cmake/45984/
2022-08-09 21:45:21 -07:00
Phoebe Wang
ab4e5ed441
Reland "[compiler-rt][BF16] Provide __truncsfbf2 only when __bf16 is available"
...
Fix the mising change for truncdfbf2.c
Reviewed By: bkramer
Differential Revision: https://reviews.llvm.org/D131147
2022-08-10 10:22:15 +08:00
Benjamin Kramer
8bc0bb9564
Add a conversion from double to bf16
...
This introduces a new compiler-rt function `__truncdfbf2`.
2022-06-15 12:56:31 +02:00