[all-commits] [llvm/llvm-project] 6666e0: [libc] Make FPBits a union.
Siva Chandra via All-commits
all-commits at lists.llvm.org
Tue Apr 13 09:22:01 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6666e0d7a29c639df7a1652b6d3bf16f28edd45a
https://github.com/llvm/llvm-project/commit/6666e0d7a29c639df7a1652b6d3bf16f28edd45a
Author: Siva Chandra Reddy <sivachandra at google.com>
Date: 2021-04-13 (Tue, 13 Apr 2021)
Changed paths:
M libc/fuzzing/math/Compare.h
M libc/fuzzing/math/RemQuoDiff.h
M libc/src/math/generic/fmaf.cpp
M libc/test/src/math/LdExpTest.h
M libc/test/src/math/NextAfterTest.h
M libc/test/src/math/RoundToIntegerTest.h
M libc/test/src/math/sqrt_test.cpp
M libc/test/src/math/sqrtf_test.cpp
M libc/test/src/math/sqrtl_test.cpp
M libc/utils/FPUtil/BasicOperations.h
M libc/utils/FPUtil/DivisionAndRemainderOperations.h
M libc/utils/FPUtil/FPBits.h
M libc/utils/FPUtil/Hypot.h
M libc/utils/FPUtil/LongDoubleBitsX86.h
M libc/utils/FPUtil/ManipulationFunctions.h
M libc/utils/FPUtil/NearestIntegerOperations.h
M libc/utils/FPUtil/NextAfterLongDoubleX86.h
M libc/utils/FPUtil/NormalFloat.h
M libc/utils/FPUtil/Sqrt.h
M libc/utils/FPUtil/SqrtLongDoubleX86.h
M libc/utils/FPUtil/TestHelpers.cpp
M libc/utils/FPUtil/TestHelpers.h
M libc/utils/MPFRWrapper/MPFRUtils.cpp
Log Message:
-----------
[libc] Make FPBits a union.
This helps us avoid the uncomfortable reinterpret-casts. Avoiding the
reinterpret casts prevents us from tripping the sanitizers as well.
Reviewed By: lntue
Differential Revision: https://reviews.llvm.org/D100360
More information about the All-commits
mailing list