While extending definition range of a debug variable, consult lexical scopes also...
authorDevang Patel <dpatel@apple.com>
Wed, 10 Aug 2011 21:25:34 +0000 (21:25 +0000)
committerDevang Patel <dpatel@apple.com>
Wed, 10 Aug 2011 21:25:34 +0000 (21:25 +0000)
commitc722c3d5ffd4ad07e17f81c2b2eb7f8074559600
treea45243edb8173837bc5f7f1d4f1786730a0edc77
parent9ce256421a90cd0413db220f1d60df65cb8344b6
While extending definition range of a debug variable, consult lexical scopes also. There is no point extending debug variable out side its lexical block. This provides 6x compile time speedup in some cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137250 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/LiveDebugVariables.cpp
test/CodeGen/ARM/debug-info-sreg2.ll
test/CodeGen/X86/dbg-value-isel.ll