Fix PR14034, an infloop / heap corruption / crash bug in the new SROA.
authorChandler Carruth <chandlerc@gmail.com>
Tue, 9 Oct 2012 01:58:35 +0000 (01:58 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 9 Oct 2012 01:58:35 +0000 (01:58 +0000)
commit2fdb25b5a9c096f38bbd3f622c34ff9b2744e56d
tree84d2bdb36932ce7268181066797ef9a45781d308
parent03753aa7598a0c313846fd49fc7eaf75c2d9f003
Fix PR14034, an infloop / heap corruption / crash bug in the new SROA.
Thanks to Benjamin for the raw test case. This one took about 50 times
longer to reduce than to fix. =/

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