[all-commits] [llvm/llvm-project] 86fe88: [libc] Support constexpr uint initialization
michaelrj-google via All-commits
all-commits at lists.llvm.org
Thu Apr 20 13:09:29 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 86fe88c8d91bb30870007c48ca71672fda8d6492
https://github.com/llvm/llvm-project/commit/86fe88c8d91bb30870007c48ca71672fda8d6492
Author: Michael Jones <michaelrj at google.com>
Date: 2023-04-20 (Thu, 20 Apr 2023)
Changed paths:
M libc/src/__support/FPUtil/FloatProperties.h
M libc/src/__support/FPUtil/NearestIntegerOperations.h
M libc/src/__support/FPUtil/x86_64/LongDoubleBits.h
M libc/src/__support/UInt.h
M libc/src/__support/builtin_wrappers.h
M libc/test/src/__support/uint_test.cpp
Log Message:
-----------
[libc] Support constexpr uint initialization
Uint addition and subtraction normally use builtins which aren't
constexpr. This patch adds an rvalue overload version of the addition
and subtraction operation that is always constexpr.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D148759
More information about the All-commits
mailing list