Enhance DSE to handle the case where a free call makes more than
authorDan Gohman <gohman@apple.com>
Fri, 12 Nov 2010 02:19:17 +0000 (02:19 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 12 Nov 2010 02:19:17 +0000 (02:19 +0000)
commit720a2ed6d99d5665cc1601426353c84cc76fffbb
tree42cd254d37d9e3d5fc6e1f5cf5d55416a6155acd
parent02df7e90cf09e2a1e75fe7a441f0c34d1e76b85c
Enhance DSE to handle the case where a free call makes more than
one store dead. This is especially noticeable in
SingleSource/Benchmarks/Shootout/objinst.

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