Rewrite the guts of the reassociate pass to be more efficient and logical. Instead
authorChris Lattner <sabre@nondot.org>
Sat, 7 May 2005 21:59:39 +0000 (21:59 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 7 May 2005 21:59:39 +0000 (21:59 +0000)
commitc0649ac931d22b7118c1db292b887cd4eb52cd32
treed27db64a4bfcd57972d36c123a96e7ea1a4c9cbd
parent29a5bf5f0fe5ebd1494a05b6e75570a0d2d9977f
Rewrite the guts of the reassociate pass to be more efficient and logical.  Instead
of trying to do local reassociation tweaks at each level, only process an expression
tree once (at its root).  This does not improve the reassociation pass in any real way.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21768 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/Reassociate.cpp