[all-commits] [llvm/llvm-project] 95e8a7: [libc][stdfix] Use __FRACT_FBIT__ for fixed point ...
lntue via All-commits
all-commits at lists.llvm.org
Thu Feb 15 05:26:43 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 95e8a7c863d17b929232d3e57007d342ffb3001d
https://github.com/llvm/llvm-project/commit/95e8a7c863d17b929232d3e57007d342ffb3001d
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M libc/include/llvm-libc-macros/stdfix-macros.h
Log Message:
-----------
[libc][stdfix] Use __FRACT_FBIT__ for fixed point support detection instead of compiler version. (#81820)
Now that `__FRACT_FBIT__` and related macros are added in
https://github.com/llvm/llvm-project/pull/81207, it is safer to use them
for fixed point support detection, so that codes that do not use fixed
point types will not fail to build when `-ffixed-point` is missing.
More information about the All-commits
mailing list