[PATCH] D129206: [ADT] Use Empty Base Optimization for Allocators

Nathan James via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 6 23:31:11 PDT 2022


njames93 updated this revision to Diff 442789.
njames93 added a comment.

Add a static assert to verify smaller size.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129206/new/

https://reviews.llvm.org/D129206

Files:
  llvm/include/llvm/ADT/ScopedHashTable.h
  llvm/include/llvm/ADT/StringMap.h
  llvm/include/llvm/Support/Allocator.h
  llvm/include/llvm/Support/AllocatorBase.h
  llvm/unittests/ADT/StringMapTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129206.442789.patch
Type: text/x-patch
Size: 10995 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220707/0e257466/attachment.bin>


More information about the llvm-commits mailing list