aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Semantics/mod-file.cpp
diff options
context:
space:
mode:
authorPeng Liu <winner245@hotmail.com>2025-02-26 12:18:25 -0500
committerGitHub <noreply@github.com>2025-02-26 12:18:25 -0500
commit7717a549e91c4fb554b78fce38e75b0147fb6cac (patch)
tree961ce4ed8e1658652b4e67de94333cc7ab16d17f /flang/lib/Semantics/mod-file.cpp
parent7ffeab3121c984cc00f79b0a78f372a4f7526e3b (diff)
downloadllvm-7717a549e91c4fb554b78fce38e75b0147fb6cac.zip
llvm-7717a549e91c4fb554b78fce38e75b0147fb6cac.tar.gz
llvm-7717a549e91c4fb554b78fce38e75b0147fb6cac.tar.bz2
[libc++] Optimize ranges::equal for vector<bool>::iterator (#121084)
This PR optimizes the performance of `std::ranges::equal` for `vector<bool>::iterator`, addressing a subtask outlined in issue #64038. The optimizations yield performance improvements of up to 188x for aligned equality comparison and 82x for unaligned equality comparison. Moreover, comprehensive tests covering up to 4 storage words (256 bytes) with odd and even bit sizes are provided, which validate the proposed optimizations in this patch.
Diffstat (limited to 'flang/lib/Semantics/mod-file.cpp')
0 files changed, 0 insertions, 0 deletions