[PATCH] D132512: [SmallVector] Reallocate if assigned memory is right after the current vector, created with capacity 0
Alina Sbirlea via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 23 15:43:13 PDT 2022
asbirlea created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
asbirlea requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Potential solution for
https://github.com/llvm/llvm-project/issues/57324.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D132512
Files:
llvm/include/llvm/ADT/SmallVector.h
llvm/lib/Support/SmallVector.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132512.454994.patch
Type: text/x-patch
Size: 5983 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220823/550500eb/attachment.bin>
More information about the llvm-commits
mailing list