diff options
author | Chris Lattner <sabre@nondot.org> | 2004-01-28 03:03:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-01-28 03:03:06 +0000 |
commit | bdce7b78442b719256e914a983fcb58873f7d5b5 (patch) | |
tree | 99de50b27ac0053f53a85f994a2ef3e532d58740 /lib/CodeGen/MachineFunction.cpp | |
parent | 14c67ccf02ab1de28c7e726493619881a41c4438 (diff) |
In updateFromGlobalsGraph, instead of iterating over all of the scalars in the
function to find the globals, iterate over all of the globals directly. This
speeds the function up from 14s to 6.3s on perlbmk, reducing DSA time from
53->46s.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10996 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions