Significantly rework InstructionCombining to work better and to be cleaner.
authorChris Lattner <sabre@nondot.org>
Thu, 18 Apr 2002 17:39:14 +0000 (17:39 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 18 Apr 2002 17:39:14 +0000 (17:39 +0000)
commitdd841aeb8d8d4cdcce716dc55e62a0f823c2856c
tree42db60927e8987116b0e9da7e864bbea91aff28a
parentfe053c77c1cb5ba9094f7de352959a876d39c518
Significantly rework InstructionCombining to work better and to be cleaner.
We now use an InstVisitor to delegate to different cases that we are
interested in handling.  We also fix the FIXME's by adding users to the
worklist when appropriate.

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