[libc][NFC] Split memset implementations per platform
authorGuillaume Chatelet <gchatelet@google.com>
Thu, 13 Jul 2023 10:58:41 +0000 (10:58 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Mon, 17 Jul 2023 11:12:19 +0000 (11:12 +0000)
commit83f3920854661e1b52e0ee7e290aea0fe2fbfded
tree8a47c1500bcd73eb6a1e4eb5629aac3257b97265
parent3cd3f11c174baa001b337b88c7a6507eb5705cf2
[libc][NFC] Split memset implementations per platform

This is a follow up on D154800 and D154770 to make the code structure more principled and avoid too many nested #ifdef/#endif.

Reviewed By: courbet

Differential Revision: https://reviews.llvm.org/D155174
libc/src/string/memory_utils/CMakeLists.txt
libc/src/string/memory_utils/aarch64/memset_implementations.h [new file with mode: 0644]
libc/src/string/memory_utils/memset_implementations.h
libc/src/string/memory_utils/riscv/memset_implementations.h [new file with mode: 0644]
libc/src/string/memory_utils/x86_64/memset_implementations.h [new file with mode: 0644]
utils/bazel/llvm-project-overlay/libc/BUILD.bazel