[PATCH] D91467: ADT: Take small enough, trivially copyable T by value in SmallVector (otherwise, assert)

Duncan P. N. Exon Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 17 18:22:11 PST 2020


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

Rebase on top of https://reviews.llvm.org/D91674, which streamlines `insert`, and handle `emplace_back` in a similar way.


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

https://reviews.llvm.org/D91467

Files:
  llvm/include/llvm/ADT/SmallVector.h
  llvm/unittests/ADT/SmallVectorTest.cpp
  llvm/utils/TableGen/CodeGenSchedule.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91467.305951.patch
Type: text/x-patch
Size: 17085 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201118/4b8ea0fd/attachment.bin>


More information about the llvm-commits mailing list