Fix a crash in SROA. This was reported independently by Takumi and
authorChandler Carruth <chandlerc@gmail.com>
Tue, 25 Sep 2012 02:42:03 +0000 (02:42 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 25 Sep 2012 02:42:03 +0000 (02:42 +0000)
commit72bf29f45d9da6a2a6be910f55a4787d30d3d2eb
tree0db45ee2062a67ca3d203eb51fc1bd835cf76c63
parent24ab21c691fb98040318b9521cd1247c3e0b79cc
Fix a crash in SROA. This was reported independently by Takumi and
David (I think), but I would appreciate folks verifying that this fixes
the big crasher.

I'm still working on a reduced test case, but because this was causing
problems I wanted to get the fix checked in quickly.

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