Implement trivial DSE. If two stores are neighbors and store to the same
authorChris Lattner <sabre@nondot.org>
Mon, 10 Oct 2005 22:31:19 +0000 (22:31 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 10 Oct 2005 22:31:19 +0000 (22:31 +0000)
commit87514ca04cb069310d29fd77e0501601c1e22c11
tree2422f9b3342c6bf1b4a874401b37f768cedee266
parent01a220213852223f2503f05c8bbb8b72e3c71290
Implement trivial DSE.  If two stores are neighbors and store to the same
location, replace them with a new store of the last value.  This occurs
in the same neighborhood in 197.parser, speeding it up about 1.5%

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23691 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp