If there are two consecutive llvm.dbg.stoppoint calls then
authorDevang Patel <dpatel@apple.com>
Wed, 19 Nov 2008 18:56:50 +0000 (18:56 +0000)
committerDevang Patel <dpatel@apple.com>
Wed, 19 Nov 2008 18:56:50 +0000 (18:56 +0000)
commit7fe1decf3a94a32e43919a1c411363d98b75283d
tree87ba5c1f3cdc56ae60f20266b2317aa19748036c
parent57cbd99d5d58a7ee05e06e5468b7c58c601e252f
If there are two consecutive llvm.dbg.stoppoint calls then
it is likely that the optimizer deleted code in between these
two intrinsics. Keep only the last llvm.dbg.stoppoint in this case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59657 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/DebugInfo/2008-11-19-InstCombine.ll [new file with mode: 0644]