| commit | b64419ac40e8e03e01a1fd68d40b325660c2b4e3 | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Mon Oct 03 22:51:37 2005 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Mon Oct 03 22:51:37 2005 +0000 |
| tree | b567d2f8c9fdd00590f92abeaff9b0cb6c59632f | |
| parent | c4062ba65f1d3e95f56cce0a1c4e001ee0a8d14a [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. llvm-svn: 23614