[all-commits] [llvm/llvm-project] 5e5a22: [libc][NFC] Move float macro into its own header /...

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Fri Nov 24 07:11:20 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e5a22caf88ac1ccfa8dc5720295fdeba0ad9372
      https://github.com/llvm/llvm-project/commit/5e5a22caf88ac1ccfa8dc5720295fdeba0ad9372
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2023-11-24 (Fri, 24 Nov 2023)

  Changed paths:
    M libc/cmake/modules/compiler_features/check_float128.cpp
    M libc/docs/dev/code_style.rst
    M libc/src/__support/CMakeLists.txt
    M libc/src/__support/CPP/CMakeLists.txt
    M libc/src/__support/CPP/type_traits/is_floating_point.h
    M libc/src/__support/FPUtil/CMakeLists.txt
    M libc/src/__support/FPUtil/FloatProperties.h
    M libc/src/__support/macros/properties/CMakeLists.txt
    M libc/src/__support/macros/properties/compiler.h
    A libc/src/__support/macros/properties/float.h
    A libc/src/__support/macros/properties/os.h
    M libc/src/math/copysignf128.h
    M libc/src/math/generic/copysignf128.cpp
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel

  Log Message:
  -----------
  [libc][NFC] Move float macro into its own header / add target os detection (#73311)

Floating point properties are a combination of target OS, target
architecture and compiler support.
 - Adding target OS detection,
 - Moving floating point type detection to its own file.

This is in preparation of adding support for `_Float16` which requires
testing compiler **version** and target architecture.




More information about the All-commits mailing list