diff options
author | Justin Bogner <mail@justinbogner.com> | 2016-03-04 00:58:39 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2016-03-04 00:58:39 +0000 |
commit | 87feb4e64e2ea574df3a45ba057d9fc506f0c8f7 (patch) | |
tree | 59067bff02ee8d7db892fab71fae83b92121360c /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp | |
parent | 4362a994d20a33f3220e5cf107b5798769d6d5d4 (diff) | |
download | bcm5719-llvm-87feb4e64e2ea574df3a45ba057d9fc506f0c8f7.tar.gz bcm5719-llvm-87feb4e64e2ea574df3a45ba057d9fc506f0c8f7.zip |
CodeGen: Tune the SmallVector size in LiveRange
The vast majority of LiveRanges (ie, 4/5) have exactly 1 segment and 1
value number, and a good chunk of the rest have 2 of each, so
allocating space for 4 is wasteful. This is especially noticeable when
dealing with a very large number of vregs, and I have an internal case
where dropping this to 2 shaves over 5% off of peak memory when
compiling a particularly large function.
llvm-svn: 262681
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions