In updateFromGlobalsGraph, instead of iterating over all of the scalars in the
authorChris Lattner <sabre@nondot.org>
Wed, 28 Jan 2004 03:03:06 +0000 (03:03 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 28 Jan 2004 03:03:06 +0000 (03:03 +0000)
commitbdce7b78442b719256e914a983fcb58873f7d5b5
tree99de50b27ac0053f53a85f994a2ef3e532d58740
parent14c67ccf02ab1de28c7e726493619881a41c4438
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
lib/Analysis/DataStructure/DataStructure.cpp