commit | 2e9b1f0e154e43e6be58d3f2fb75a2880e3f1dc5 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Jul 03 04:45:46 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Jul 03 04:45:46 2008 +0000 |
tree | 79cd4963b754e7437807ec6387ad4f39fbf169bf | |
parent | 68ba49a57ca666020139b77dd2f7cf4e7c35e710 [diff] |
rewrite a chunk of the PCH related value mapping stuff, adding a new vector that just holds local values. This substantially speeds up the writeLLVMValues on large files. This speeds up: time ./cc1plus ~/instcombine.ii -O0 -o out2.bc -emit-llvm-bc -quiet From: 2.545u 0.187s 0:02.73 99.6% 0+0k 0+0io 0pf+0w To: 2.125u 0.204s 0:02.33 99.5% 0+0k 0+3io 0pf+0w ... which is about 18% faster. llvm-svn: 53079