[PATCH] D48518: ADT: Shrink SmallVector by 8B on 64-bit platforms

Duncan P. N. Exon Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 23 16:11:14 PDT 2018


dexonsmith updated this revision to Diff 152607.
dexonsmith edited the summary of this revision.
dexonsmith added a comment.

Updating the patch since I decided to just lift `set_size()` up to `SmallVectorBase`.  My ASan-ified check-llvm and check-clang came back happy.

Does anyone feel this needs compile-time testing pre-commit?


https://reviews.llvm.org/D48518

Files:
  llvm/include/llvm/ADT/SmallVector.h
  llvm/lib/Support/SmallVector.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48518.152607.patch
Type: text/x-patch
Size: 18330 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180623/000b34cd/attachment.bin>


More information about the llvm-commits mailing list