diff options
author | Chris Lattner <sabre@nondot.org> | 2005-10-03 22:51:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-10-03 22:51:37 +0000 |
commit | cea141f1d1f85997c4c657009994bdacbc3a3dbf (patch) | |
tree | b0905030996259f2fdaec8372f5fd76b39bce1cb /lib/Transforms/Utils/DemoteRegToStack.cpp | |
parent | 5cbade9f8340f5266d9f9ba401d494e636b7c42f (diff) |
Change ConstantArray::replaceUsesOfWithOnConstant to attempt to update
constant arrays in place instead of reallocating them and replaceAllUsesOf'ing
the result. This speeds up a release build of the bcreader from:
136.987u 120.866s 4:24.38
to
49.790u 49.890s 1:40.14
... a 2.6x speedup parsing a large python bc file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23614 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/DemoteRegToStack.cpp')
0 files changed, 0 insertions, 0 deletions