Handle the case where an entire structure is freed, and its dependency is a store...
authorOwen Anderson <resistor@mac.com>
Wed, 11 Jul 2007 23:19:17 +0000 (23:19 +0000)
committerOwen Anderson <resistor@mac.com>
Wed, 11 Jul 2007 23:19:17 +0000 (23:19 +0000)
commita96c1f665af2d8bc8539e7d202b058cb0853c2b7
tree8d1812ae3416668f5e6fdf9702f05042df761ea5
parent758dcca57ae4aad057b39e8c14af996aef30bd3e
Handle the case where an entire structure is freed, and its dependency is a store to a field within
that structure.

Also, refactor the runOnBasicBlock() function, splitting some of the special cases into separate functions.

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