[all-commits] [llvm/llvm-project] c44487: [libc][NFC] Split builtin_wrapper into bit and mat...

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Thu Nov 23 00:59:13 PST 2023


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

  Changed paths:
    M libc/src/__support/CMakeLists.txt
    M libc/src/__support/FPUtil/CMakeLists.txt
    M libc/src/__support/FPUtil/FPBits.h
    M libc/src/__support/FPUtil/Hypot.h
    M libc/src/__support/FPUtil/generic/CMakeLists.txt
    M libc/src/__support/FPUtil/generic/FMA.h
    M libc/src/__support/FPUtil/generic/FMod.h
    M libc/src/__support/FPUtil/generic/sqrt.h
    M libc/src/__support/FPUtil/generic/sqrt_80_bit_long_double.h
    M libc/src/__support/UInt.h
    A libc/src/__support/bit.h
    R libc/src/__support/builtin_wrappers.h
    M libc/src/__support/integer_utils.h
    A libc/src/__support/math_extras.h
    M libc/src/__support/str_to_float.h
    M libc/src/math/generic/CMakeLists.txt
    M libc/src/math/generic/powf.cpp
    M libc/test/src/__support/CMakeLists.txt
    A libc/test/src/__support/bit_test.cpp
    A libc/test/src/__support/math_extras_test.cpp
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
    M utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl
    M utils/bazel/llvm-project-overlay/libc/test/src/__support/BUILD.bazel
    M utils/bazel/llvm-project-overlay/libc/test/src/math/libc_math_test_rules.bzl

  Log Message:
  -----------
  [libc][NFC] Split builtin_wrapper into bit and math_extras (#73113)

Split `builtin_wrapper.h` into `bit.h` and `math_extras.h` to mimic LLVM
`llvm/ADT/Bit.h` and `llvm/Support/MathExtras.h`.
Also added unittest place holders.




More information about the All-commits mailing list