[all-commits] [llvm/llvm-project] a2df87: [libc] Fix libmath test compilation when using UIn...
Mikhail R. Gadelha via All-commits
all-commits at lists.llvm.org
Tue Jun 20 11:45:52 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a2df87c2b0ea7eef6b124a41f818212173071560
https://github.com/llvm/llvm-project/commit/a2df87c2b0ea7eef6b124a41f818212173071560
Author: Mikhail R. Gadelha <mikhail at igalia.com>
Date: 2023-06-20 (Tue, 20 Jun 2023)
Changed paths:
M libc/src/__support/UInt.h
M libc/test/src/math/FmaTest.h
M libc/test/src/math/HypotTest.h
M libc/test/src/math/ILogbTest.h
M libc/test/src/math/LdExpTest.h
M libc/test/src/math/RIntTest.h
M libc/test/src/math/RemQuoTest.h
M libc/test/src/math/RoundToIntegerTest.h
Log Message:
-----------
[libc] Fix libmath test compilation when using UInt<T>
This patch:
(1) adds the add_with_carry_const and sub_with_borrow_const constexpr calls
to add and sub, respectively. Both add and sub are constexpr calls and
were call the non-constexpr version of add/sub_with_borrow.
(2) adds explicit UIntType construct calls in some fp tests.
Reviewed By: lntue
Differential Revision: https://reviews.llvm.org/D150223
More information about the All-commits
mailing list