Fix a bug in the code which re-inserts DBG_VALUE nodes after scheduling;
authorDan Gohman <gohman@apple.com>
Sat, 10 Jul 2010 22:42:31 +0000 (22:42 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 10 Jul 2010 22:42:31 +0000 (22:42 +0000)
commita8dab36f3dfdfcd3f74224afa4ffb32776674c93
treed6d6bd334c9230dc427600c48932b9c5891aa84e
parente695de0c5f0924fcb667ccf19d141491869a9c5e
Fix a bug in the code which re-inserts DBG_VALUE nodes after scheduling;
if a block is split (by a custom inserter), the insert point may be in a
different block than it was originally. This fixes 32-bit llvm-gcc
bootstrap builds, and I haven't been able to reproduce it otherwise.

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