Fixed deadstoreelimination bug where negative indices were incorrectly causing the...
authorPete Cooper <peter_cooper@apple.com>
Sat, 3 Dec 2011 00:04:30 +0000 (00:04 +0000)
committerPete Cooper <peter_cooper@apple.com>
Sat, 3 Dec 2011 00:04:30 +0000 (00:04 +0000)
commitde2e27cc52a9e47e0261dda6dfb54a32eefa90a0
tree9a32e49f6c5b1e49cf96db5ad96825c42c661cfa
parent24fbf2bf161b20b13d0a218345bdcd092bdd56f8
Fixed deadstoreelimination bug where negative indices were incorrectly causing the optimisation to occur

Turns out long long + unsigned long long is unsigned.  Doh!

Fixes http://llvm.org/bugs/show_bug.cgi?id=11455

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