Two changes here:
authorChris Lattner <sabre@nondot.org>
Fri, 25 Mar 2005 00:05:04 +0000 (00:05 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 25 Mar 2005 00:05:04 +0000 (00:05 +0000)
commitb2dbdc13012b961463a6e5f22105934d08fd780b
treeae90728f4ca03ce486b861298e9f3062d71b8c4c
parentce7068d3783495a4b395660f89a107f83a9eea3f
Two changes here:
  1. Instead of copying Local graphs to the BU graphs to start with, use
     spliceFrom to do the job (which is constant time in this case).  On
     176.gcc, this chops off .17s from the bu pass.
  2. When building SCC graphs, simplify the logic and use spliceFrom to
     do the heavy lifting, instead of cloneInto/delete.  This slices
     another .14s off 176.gcc.

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