Fix PEI to not walk off the start of a block when an updated instruction
authorChris Lattner <sabre@nondot.org>
Thu, 19 Mar 2009 17:15:43 +0000 (17:15 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 19 Mar 2009 17:15:43 +0000 (17:15 +0000)
commit5e6345bde0f3a6405ec1ea852f1e5e5df8642f9c
tree640d2db7092426390ae30f0cca496fd38c89da73
parentbf5836b075a7fdd680e7c43134237bdef65643cf
Fix PEI to not walk off the start of a block when an updated instruction
is the first in its block.  This is PR3842.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67304 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/PrologEpilogInserter.cpp