Chris Lattner 296185c264 fix two problems with machine sinking:
1. Sinking would crash when the first instruction of a block was
   sunk due to iterator problems.
2. Instructions could be sunk to their current block, causing an
   infinite loop.

This fixes PR3968


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68787 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-10 16:38:36 +00:00
..
2009-04-03 00:02:39 +00:00
2009-03-13 04:39:26 +00:00
2009-04-09 00:33:08 +00:00
2009-03-02 09:01:14 +00:00