Implement a new mergeInGraph method, which basically factors code out of
authorChris Lattner <sabre@nondot.org>
Thu, 7 Nov 2002 06:31:54 +0000 (06:31 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 7 Nov 2002 06:31:54 +0000 (06:31 +0000)
commit076c1f923b515cbae6c4dfc25a84db4a0ce18272
tree8e1aefdb5638c208eb1c453569ba13beb9f974c0
parentcee3a4ef107f4c7d7ea0d8d44d02bd2d96eef7a7
Implement a new mergeInGraph method, which basically factors code out of
the BU class.

This will be used by the IPModRef class to do stuff, eventually perhaps the
TD pass will use it also.

Speaking of the TD pass, this also eliminates the self recursive case, which
was broken, and couldn't occur anyway.

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