* Substantially simplify how free instructions are handled (potentially fixing
authorChris Lattner <sabre@nondot.org>
Sun, 25 Jul 2004 11:09:56 +0000 (11:09 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 25 Jul 2004 11:09:56 +0000 (11:09 +0000)
commit70e9b59b0e142e3a965ac6b1c2cf19d8cf76b23f
tree08c1994dfaa0fb3a77a099daa2da04222fec8e06
parentf90fcaf5729f2987c9f4e91ca4e6ee4397ba0a8d
* Substantially simplify how free instructions are handled (potentially fixing
  a bug in DSE).
* Delete dead operand uses iteratively instead of recursively, using a
  SetVector.
* Defer deletion of dead operand uses until the end of processing, which means
  we don't have to bother with updating the AliasSetTracker.  This speeds up
  DSE substantially.

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