diff options
author | Chris Lattner <sabre@nondot.org> | 2004-02-04 21:33:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-02-04 21:33:42 +0000 |
commit | c1df7e1799a7a97602bdedec818f7ab1dc514b4e (patch) | |
tree | fb568ce7b51c6167935aa4a39635e3776957157e /runtime/Makefile | |
parent | f0339396c1433d4995102f1963c9e5e3ecb60c45 (diff) | |
download | external_llvm-c1df7e1799a7a97602bdedec818f7ab1dc514b4e.zip external_llvm-c1df7e1799a7a97602bdedec818f7ab1dc514b4e.tar.gz external_llvm-c1df7e1799a7a97602bdedec818f7ab1dc514b4e.tar.bz2 |
Two changes:
1. Don't scan to the end of alloca instructions in the caller function to
insert inlined allocas, just insert at the top. This saves a lot of
time inlining into functions with a lot of allocas.
2. Use splice to move the alloca instructions over, instead of remove/insert.
This allows us to transfer a block at a time, and eliminates a bunch of
silly symbol table manipulations.
This speeds up the inliner on the testcase in PR209 from 1.73s -> 1.04s (67%)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11118 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime/Makefile')
0 files changed, 0 insertions, 0 deletions