Treat the label for the first @llvm.dbg.stoppoint the same way as the dbg_func_start...
authorEvan Cheng <evan.cheng@apple.com>
Wed, 30 Jan 2008 20:08:35 +0000 (20:08 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 30 Jan 2008 20:08:35 +0000 (20:08 +0000)
commit965d1b4bba6107b451edee403c6666acb86f39e3
tree00af25d1449afc00d0c1858e7bcf9510b301bfa7
parent43b8f3b7d375187f843181ad3331ea9f06b473f5
Treat the label for the first @llvm.dbg.stoppoint the same way as the dbg_func_start label. Make sure nothing else is inserted before them.
Note this solution might be somewhat fragile since ISD::LABEL may be used for other
purposes. If that ends up to be an issue, we may need to introduce a different node
for debug labels.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46571 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
lib/Target/X86/X86RegisterInfo.cpp