diff options
author | Reid Kleckner <rnk@google.com> | 2016-02-03 19:34:28 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2016-02-03 19:34:28 +0000 |
commit | 45b6159ed34dd4ce6e58ac67d66044b057d9001f (patch) | |
tree | 43058b5501437557d70d25d988b6e78dda579980 /lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py | |
parent | f42ef3efcad9095920232a0a710a80c5c4720170 (diff) | |
download | bcm5719-llvm-45b6159ed34dd4ce6e58ac67d66044b057d9001f.tar.gz bcm5719-llvm-45b6159ed34dd4ce6e58ac67d66044b057d9001f.zip |
Minor performance tweaks to llvm-tblgen (and a few that might be a good idea)
Summary:
This patch adds a reserve call to an expensive function
(`llvm::LoadIntrinsics`), and may fix a few other low hanging
performance fruit (I've put them in comments for now, so we can
discuss).
**Motivation:**
As I'm sure other developers do, when I build LLVM, I build the entire
project with the same config (`Debug`, `MinSizeRel`, `Release`, or
`RelWithDebInfo`). However, the `Debug` config also builds llvm-tblgen
in `Debug` mode. Later build steps that run llvm-tblgen then can
actually be the slowest steps in the entire build. Nobody likes slow
builds.
Reviewers: rnk, dblaikie
Differential Revision: http://reviews.llvm.org/D16832
Patch by Alexander G. Riccio
llvm-svn: 259683
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions