teach DSE to use GetPointerBaseWithConstantOffset to analyze
authorChris Lattner <sabre@nondot.org>
Tue, 30 Nov 2010 23:05:20 +0000 (23:05 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 30 Nov 2010 23:05:20 +0000 (23:05 +0000)
commita04096580a65b6cfbe12dabf6d695f7303750c0d
tree0dd3f641c599ed0675c9579f72c70fa4c010f872
parent1fd374e9c1c074c1681336bef31e65f0170b0f7e
teach DSE to use GetPointerBaseWithConstantOffset to analyze
may-aliasing stores that partially overlap with different base
pointers.  This implements PR6043 and the non-variable part of
PR8657

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120485 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ValueTracking.h
lib/Transforms/Scalar/DeadStoreElimination.cpp
test/Transforms/DeadStoreElimination/PartialStore.ll