When restoring a saved insert location, check to see if the saved
authorDan Gohman <gohman@apple.com>
Mon, 15 Feb 2010 00:21:43 +0000 (00:21 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 15 Feb 2010 00:21:43 +0000 (00:21 +0000)
commit455985501381777db03534c925a35e261e356395
tree1c85411339284aeaf830ec06cb77a16b2cd8c899
parent751d5aa1eadf041f00acf76f3b641549c8be3998
When restoring a saved insert location, check to see if the saved
insert location has become an "inserted" instruction since the time
it was saved. If so, advance to the first non-"inserted" instruction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96203 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ScalarEvolutionExpander.h
lib/Analysis/ScalarEvolutionExpander.cpp