This patch changes the saved IRBuilder insert point from BasicBlock::iterator to...
authorNadav Rotem <nrotem@apple.com>
Mon, 8 Jul 2013 23:31:13 +0000 (23:31 +0000)
committerNadav Rotem <nrotem@apple.com>
Mon, 8 Jul 2013 23:31:13 +0000 (23:31 +0000)
commitf564efa59103f101e08c4016c9f6d78967b4960c
treec1a0f8cf9c51ea75e9479afb60dcd58fc81f8f12
parenta75b293e4fa702d3e233839dc347ebf565be2d4d
This patch changes the saved IRBuilder insert point from BasicBlock::iterator to AssertingVH.

Commit 185883 fixes a bug in the IRBuilder that should fix the ASan bot. AssertingVH can help in exposing some RAUW problems.

Thanks Ben and Alexey!

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