[all-commits] [llvm/llvm-project] d4222b: [libc++] Use saturation builtins directly for {add...
Nikolas Klauser via All-commits
all-commits at lists.llvm.org
Tue Nov 4 14:29:34 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d4222bf9e2175dc8d0707442802a222d652d0116
https://github.com/llvm/llvm-project/commit/d4222bf9e2175dc8d0707442802a222d652d0116
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2025-11-04 (Tue, 04 Nov 2025)
Changed paths:
M libcxx/include/__numeric/saturation_arithmetic.h
Log Message:
-----------
[libc++] Use saturation builtins directly for {add,sub}_sat (#165228)
This doesn't improve performance (except with optimizations disabled),
since the compiler is able to fold our current implementation. However,
it does significantly reduce the amount of code the compiler has to sift
through, reducing compile times a bit.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list