diff options
author | Arthur Eubanks <aeubanks@google.com> | 2021-09-29 16:04:39 -0700 |
---|---|---|
committer | Arthur Eubanks <aeubanks@google.com> | 2021-09-30 09:55:06 -0700 |
commit | d372e92baf96cb0913aa361ecbc53a38a5f29ae1 (patch) | |
tree | 91f501a5dbdd32091835555ef79e4c124c2608f5 /lldb/packages/Python/lldbsuite/test/configuration.py | |
parent | ea02f9caffb6364613b1f49312a5dafb04ead48d (diff) | |
download | llvm-d372e92baf96cb0913aa361ecbc53a38a5f29ae1.zip llvm-d372e92baf96cb0913aa361ecbc53a38a5f29ae1.tar.gz llvm-d372e92baf96cb0913aa361ecbc53a38a5f29ae1.tar.bz2 |
Manually create unique_ptr in various pass adaptors
This avoids creating tons of make_unique template instantiations. And we
only create a unique_ptr of the actual pass concept type, rather than
creating a unique_ptr of the pass model subclass then casting it to the
pass concept type.
This reduces the work spent compiling PassBuilder.cpp from 83M -> 73M
instructions according to perf stat.
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D110784
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
0 files changed, 0 insertions, 0 deletions