PR9561: A store with a negative offset (via GEP) could erroniously say that it
authorBill Wendling <isanbard@gmail.com>
Sat, 26 Mar 2011 01:20:37 +0000 (01:20 +0000)
committerBill Wendling <isanbard@gmail.com>
Sat, 26 Mar 2011 01:20:37 +0000 (01:20 +0000)
commite420449e80191051d6d1636883f2400cb0a8ace5
treeb88de841c67f1964b5b0a441ee3ef326e9aa83a2
parent17cbaa3c82f5982c7ee3089f95529af1afd407d3
PR9561: A store with a negative offset (via GEP) could erroniously say that it
completely overlaps a previous store, thus mistakenly deleting that store. Check
for this condition.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128319 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/DeadStoreElimination.cpp
test/Transforms/DeadStoreElimination/2011-03-25-DSEMiscompile.ll [new file with mode: 0644]