mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
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
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user