Reimplement the inner loop of DSE. It now uniformly uses getDependence(),
authorChris Lattner <sabre@nondot.org>
Sat, 6 Dec 2008 00:53:22 +0000 (00:53 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 6 Dec 2008 00:53:22 +0000 (00:53 +0000)
commit5e600e67b11c55c204b3eec00798badc96ed720b
tree3ba1794b7ca0c29a31174add6e1543108a47fbd5
parentdd17b25611018fa576a7b941d5c1d54ac489c13c
Reimplement the inner loop of DSE. It now uniformly uses getDependence(),
doesn't do its own local caching, and is slightly more aggressive about
free/store dse (see testcase).  This eliminates the last external client
of MemDep::getDependenceFrom().

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