summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/Win32/Program.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-11-16 07:31:51 +0000
committerChris Lattner <sabre@nondot.org>2004-11-16 07:31:51 +0000
commit2f0557d0e4077d943c61cd364ad87e8736440e54 (patch)
tree639d3b0c90e864a7760bc343313831beb8338460 /llvm/lib/System/Win32/Program.cpp
parent4c66d89b336e79eccd4d543cf3728b88434bd09a (diff)
downloadbcm5719-llvm-2f0557d0e4077d943c61cd364ad87e8736440e54.tar.gz
bcm5719-llvm-2f0557d0e4077d943c61cd364ad87e8736440e54.zip
Take advantage of the fact that we are allowed to clobber the input module
by splicing function bodies from the src module to the destination module. This speeds up linking quite a bit, e.g. gccld time on 176.gcc from 26s -> 20s when forming the .rbc file, with a profile build. One of the really strange but cool effects of this patch is that it speeds up the optimizers as well, from 12s -> 10.7s, presumably because of better locality??? In any case, this is just a first step. We can trivially get rid of the LocalMap now and do other simplifications. llvm-svn: 17893
Diffstat (limited to 'llvm/lib/System/Win32/Program.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud