Treat mid-block labels the same as terminators when building the
authorDan Gohman <gohman@apple.com>
Thu, 20 Nov 2008 19:58:35 +0000 (19:58 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 20 Nov 2008 19:58:35 +0000 (19:58 +0000)
commit8eaf41de8adb764b16712485a385afab8b83f1ca
tree4a4d90ce1afd21195b86aa32096b303aee73734e
parent5ce0973f7f4d149f986d16d1a1f79b131fd70423
Treat mid-block labels the same as terminators when building the
MachineInstr scheduling DAG, meaning they implicitly depend on all
preceding defs. This fixes Benchmarks/Shootout-C++/except and
Regression/C++/EH/simple_rethrow in
  -relocation-model=pic -disable-post-RA-scheduler=false
mode.

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