OSDN Git Service

PR 16899: Do not modify the basic block using the iterator, but keep the
authorJoerg Sonnenberger <joerg@bec.de>
Sat, 17 Aug 2013 11:04:47 +0000 (11:04 +0000)
committerJoerg Sonnenberger <joerg@bec.de>
Sat, 17 Aug 2013 11:04:47 +0000 (11:04 +0000)
commit190673610f41be171589be8a0263d8c10a8f3edf
tree64f31472fcaa161d98b204d3eb2357f2fec84951
parent913da2b7b32daa5c018ec1b7422cf76c3d01649b
PR 16899: Do not modify the basic block using the iterator, but keep the
next value. This avoids crashes due to invalidation.

Patch by Joey Gouly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188605 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/SLPVectorizer.cpp