Fix a DSA bug that caused DSA to generate incredibly huge graphs and take forever to
authorChris Lattner <sabre@nondot.org>
Wed, 3 Mar 2004 22:01:09 +0000 (22:01 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 3 Mar 2004 22:01:09 +0000 (22:01 +0000)
commitc4ebdcea7aae1e8ffaa7d2bfd3ae127668097dfb
tree7a2946f00aab7b00619f8ebd087cca1a81408d9a
parent66be3c8f72b7b8d8553a56d62ff78fbfc88fd5b4
Fix a DSA bug that caused DSA to generate incredibly huge graphs and take forever to
do it on povray.  The problem is that we were not copying globals from callees to
callers unless the existed in both graphs.  We should have copied them in the case
where the global pointed to a node that was copied as well.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12104 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/DataStructure/DataStructure.cpp