aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/TestModuleFileExtension.cpp
diff options
context:
space:
mode:
authorGuillaume Chatelet <gchatelet@google.com>2025-07-17 10:15:43 +0200
committerGitHub <noreply@github.com>2025-07-17 10:15:43 +0200
commite0cce5cdcb8a7829389d910a9204447646e69407 (patch)
treebb42153f2d05c3f65a770b558bc001e49202c6b6 /clang/lib/Frontend/TestModuleFileExtension.cpp
parent8b553c495155a024d22871f22f05187fb785c4fc (diff)
downloadllvm-e0cce5cdcb8a7829389d910a9204447646e69407.zip
llvm-e0cce5cdcb8a7829389d910a9204447646e69407.tar.gz
llvm-e0cce5cdcb8a7829389d910a9204447646e69407.tar.bz2
[libc] Improve Cortex `memset` and `memcpy` functions (#149044)
The code for `memcpy` is the same as in #148204 but it fixes the build bot error by using `static_assert(cpp::always_false<decltype(access)>)` instead of `static_assert(false)` (older compilers fails on `static_assert(false)` in `constexpr` `else` bodies). The code for `memset` is new and vastly improves performance over the current byte per byte implementation. Both `memset` and `memcpy` implementations use prefetching for sizes >= 64. This lowers a bit the performance for sizes between 64 and 256 but improves throughput for greater sizes.
Diffstat (limited to 'clang/lib/Frontend/TestModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions