[libc-commits] [PATCH] D136292: [libc] mem* framework v3

Guillaume Chatelet via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Oct 19 13:53:05 PDT 2022


gchatelet created this revision.
gchatelet added a reviewer: courbet.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added projects: libc-project, All.
gchatelet requested review of this revision.

This version is more composable and also simpler at the expense of being more explicit and more verbose.

This patch provides rationale for the framework, implementation and unit tests but the functions themselves are still using the previous version. The change in implementation will come in a follow up patch.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136292

Files:
  libc/src/string/memory_utils/CMakeLists.txt
  libc/src/string/memory_utils/README.md
  libc/src/string/memory_utils/op_aarch64.h
  libc/src/string/memory_utils/op_builtin.h
  libc/src/string/memory_utils/op_generic.h
  libc/src/string/memory_utils/op_x86.h
  libc/src/string/memory_utils/utils.h
  libc/test/src/string/memory_utils/CMakeLists.txt
  libc/test/src/string/memory_utils/elements_test.cpp
  libc/test/src/string/memory_utils/memory_access_test.cpp
  libc/test/src/string/memory_utils/op_tests.cpp
  utils/bazel/llvm-project-overlay/libc/BUILD.bazel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136292.469038.patch
Type: text/x-patch
Size: 60486 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20221019/0c7cd9d9/attachment-0001.bin>


More information about the libc-commits mailing list