aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode/Archive/Archive.cpp
diff options
context:
space:
mode:
authorPatrick Jenkins <pjenkins@apple.com>2006-07-28 01:19:28 +0000
committerPatrick Jenkins <pjenkins@apple.com>2006-07-28 01:19:28 +0000
commite47863e212e0af6239f6f40b2496ede29847bbce (patch)
treed8d4897a48b67a2067385d78cf1fda86c2dd4611 /lib/Bytecode/Archive/Archive.cpp
parentdc7a66a0819e65fa5164c9bdc35e02f47b878b47 (diff)
This commit improves bugpoints speed. On my G4 this changed caused kimwitu++ to run through bugpoint in 1091.15 seconds (user + system time). The time it took to run this on my G4 before I made these changes is 1420.82 seconds (user + system time). This is a speedup of about 5.5 minutes.
This is faster because SplitFunctionsOutOfModule no longer calls Clone Module and then removes the functions it doesnt want from the module returned. Instead it creates a module and copies over the specified functions, making changes to the new and old module where neccessary. This reduces the memory demand. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29379 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Archive/Archive.cpp')
0 files changed, 0 insertions, 0 deletions