Hi,
Not sure when the original crash information disappeared, the test suffers from crash in function
polly::ScopStmt::getArrayAccessFor now.
Root cause is VectorBlockGenerator::copyStmt iterates all instructions in basic block, however some
load instructions may be not unnecessary thus removed by simplification. As a result, these load
instructions don't have corresponding Array.
Looking at BlockGenerator::copyBB, it only iterates instructions list of ScopStmt. Given it must be
a block type scop in case of vectorization, I think we should do the same in VectorBlockGenerator::copyStmt.
A test is also added in the patch. All tests pass, any comments?
Thanks,
bin