diff options
author | Peng Liu <winner245@hotmail.com> | 2025-04-19 07:12:43 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-19 07:12:43 -0400 |
commit | e9280a1d39af88468ffea9a14fad5bf96d51d6e6 (patch) | |
tree | a15cf8478b363acdc70cd2735b4e41e7f46979ef /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | f91df0d58df4fcb5edcb89f204f0d22ade9a9262 (diff) | |
download | llvm-e9280a1d39af88468ffea9a14fad5bf96d51d6e6.zip llvm-e9280a1d39af88468ffea9a14fad5bf96d51d6e6.tar.gz llvm-e9280a1d39af88468ffea9a14fad5bf96d51d6e6.tar.bz2 |
[libc++] Backport segmented iterator optimization for std::for_each to C++11 (#134960)
Previously, the segmented iterator optimization for `std::for_each` was restricted to C++23 and later due to its dependency on `__movable_box`, which is not available in earlier standards. This patch eliminates that restriction, enabling consistent optimizations starting from C++11.
By backporting this enhancement, we improve performance across older standards and create opportunities to extend similar optimizations to other algorithms by forwarding their calls to `std::for_each`.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions