[PATCH] D90884: [SmallVector] Add a default small size.
Sean Silva via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 10 12:17:53 PST 2020
silvas added a comment.
In D90884#2386747 <https://reviews.llvm.org/D90884#2386747>, @tschuett wrote:
> Isn't the real answer a profiler and data collection.
>
> - Which SmallVector's are too large?
> - Which SmallVector's create heap allocations?
I generally agree. I think Duncan did some of this in the past. Unfortunately, we don't have a way to en-mass tune SmallVector sizes. I think if we can adopt a default smallsize strategy, then we can start to do some of that by tuning the default strategy.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90884/new/
https://reviews.llvm.org/D90884
More information about the llvm-commits
mailing list