aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/debug-info-sreg2.ll
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-08-10 21:25:34 +0000
committerDevang Patel <dpatel@apple.com>2011-08-10 21:25:34 +0000
commitc722c3d5ffd4ad07e17f81c2b2eb7f8074559600 (patch)
treea45243edb8173837bc5f7f1d4f1786730a0edc77 /test/CodeGen/ARM/debug-info-sreg2.ll
parent9ce256421a90cd0413db220f1d60df65cb8344b6 (diff)
downloadexternal_llvm-c722c3d5ffd4ad07e17f81c2b2eb7f8074559600.zip
external_llvm-c722c3d5ffd4ad07e17f81c2b2eb7f8074559600.tar.gz
external_llvm-c722c3d5ffd4ad07e17f81c2b2eb7f8074559600.tar.bz2
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
Diffstat (limited to 'test/CodeGen/ARM/debug-info-sreg2.ll')
-rw-r--r--test/CodeGen/ARM/debug-info-sreg2.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/ARM/debug-info-sreg2.ll b/test/CodeGen/ARM/debug-info-sreg2.ll
index 16aeab3..edafcfc 100644
--- a/test/CodeGen/ARM/debug-info-sreg2.ll
+++ b/test/CodeGen/ARM/debug-info-sreg2.ll
@@ -5,7 +5,7 @@ target triple = "thumbv7-apple-macosx10.6.7"
;CHECK: Ldebug_loc0:
;CHECK-NEXT: .long Ltmp1
-;CHECK-NEXT: .long Ltmp3
+;CHECK-NEXT: .long Ltmp2
;CHECK-NEXT: Lset9 = Ltmp10-Ltmp9 @ Loc expr size
;CHECK-NEXT: .short Lset9
;CHECK-NEXT: Ltmp9: