[all-commits] [llvm/llvm-project] 9971e9: [builtins] Avoid using long double in FreeBSD stan...
Dimitry Andric via All-commits
all-commits at lists.llvm.org
Thu Dec 21 11:31:18 PST 2023
Branch: refs/heads/users/DimitryAndric/builtins-avoid-long-double-standalone
Home: https://github.com/llvm/llvm-project
Commit: 9971e982fc16405c06fb37ff195620d6ed835936
https://github.com/llvm/llvm-project/commit/9971e982fc16405c06fb37ff195620d6ed835936
Author: Dimitry Andric <dimitry at andric.com>
Date: 2023-12-21 (Thu, 21 Dec 2023)
Changed paths:
M compiler-rt/lib/builtins/int_types.h
Log Message:
-----------
[builtins] Avoid using long double in FreeBSD standalone environment
After 05a4212cc76d a number of long double related declarations are
enabled in `int_types.h`, whenever the CPU architecture and platform
support it. However, this does not work with FreeBSD's standalone
environment, which disallows any use of floating point.
In add98b246290 this was made conditional with `CRT_HAS_FLOATING_POINT`,
so use that macro to also determine whether `HAS_80_BIT_LONG_DOUBLE` can
be turned on.
More information about the All-commits
mailing list