[libc-commits] [PATCH] D125966: [libc][mem*] Address facility + test enum support

Guillaume Chatelet via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu May 19 04:13:04 PDT 2022


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

This patch is a subpart of D125768 <https://reviews.llvm.org/D125768> intented to make the review easier.

The `Address` struct represents a pointer but also adds compile time knowledge
like alignment or temporal/non-temporal that helps with downstream instruction
selection.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D125966

Files:
  libc/src/__support/CPP/TypeTraits.h
  libc/src/string/memory_utils/address.h
  libc/test/src/string/memory_utils/CMakeLists.txt
  libc/test/src/string/memory_utils/address_test.cpp
  libc/utils/UnitTest/LibcTest.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125966.430641.patch
Type: text/x-patch
Size: 10144 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220519/913e0eaa/attachment.bin>


More information about the libc-commits mailing list