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 | b64419ac40e8e03e01a1fd68d40b325660c2b4e3 (patch) | |
tree | b567d2f8c9fdd00590f92abeaff9b0cb6c59632f /llvm/lib/Transforms/Utils/DemoteRegToStack.cpp | |
parent | c4062ba65f1d3e95f56cce0a1c4e001ee0a8d14a (diff) | |
download | llvm-b64419ac40e8e03e01a1fd68d40b325660c2b4e3.zip llvm-b64419ac40e8e03e01a1fd68d40b325660c2b4e3.tar.gz llvm-b64419ac40e8e03e01a1fd68d40b325660c2b4e3.tar.bz2 |
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.
llvm-svn: 23614
Diffstat (limited to 'llvm/lib/Transforms/Utils/DemoteRegToStack.cpp')
0 files changed, 0 insertions, 0 deletions