bool Changed = TTracker->Transfers.size() != 0;
delete MTracker;
+ delete TTracker;
+ MTracker = nullptr;
VTracker = nullptr;
TTracker = nullptr;
#
# Check that last bundled instruction of block gets recognized as end of basic block.
# CHECK: bb.2.if.end
-# CHECK-NEXT: DBG_VALUE $s0, $noreg, !12, !DIExpression(), debug-location !17
+# CHECK-NEXT: DBG_VALUE $s0, $noreg, !12, !DIExpression()
--- |
; ModuleID = '<stdin>'
# ...
#
# CHECK: bb.1.if.end:
-# CHECK: DBG_VALUE $rbp, 0, !37, !DIExpression(DW_OP_constu, 44, DW_OP_minus), debug-location !58
-# CHECK-NOT: DBG_VALUE $rbp, 0, !36, !DIExpression(DW_OP_constu, 48, DW_OP_minus), debug-location !57
+# CHECK: DBG_VALUE $rbp, 0, !37, !DIExpression(DW_OP_constu, 44, DW_OP_minus)
+# CHECK-NOT: DBG_VALUE $rbp, 0, !36, !DIExpression(DW_OP_constu, 48, DW_OP_minus)
--- |
; ModuleID = '<stdin>'
$r13 = MOV64rr $rax
renamable $ecx = XOR32rr undef $ecx, undef $ecx, implicit-def dead $eflags
renamable $r13 = AND64rr killed renamable $r13, renamable $r14, implicit-def $eflags
- JCC_1 %bb.9, 4, implicit $eflags
+ JCC_1 %bb.9, 4, implicit $eflags, debug-location !57
bb.1.if.end:
successors: %bb.2(0x30000000), %bb.3(0x50000000)
$r12 = MOV64rr $rax
$r15 = MOV64rr $r12
renamable $r15 = AND64ri8 killed renamable $r15, -123, implicit-def $eflags
- JCC_1 %bb.2, 4, implicit $eflags
+ JCC_1 %bb.2, 4, implicit $eflags, debug-location !57
bb.3.private.exit:
successors: %bb.9(0x30000000), %bb.4(0x50000000)
CALL64pcrel32 @func4, csr_64, implicit $rsp, implicit $ssp, implicit $rdi, implicit-def $rsp, implicit-def $ssp, implicit-def $eax
renamable $ecx = MOV32ri 1
TEST32rr killed renamable $eax, renamable $eax, implicit-def $eflags
- JCC_1 %bb.9, 4, implicit $eflags
+ JCC_1 %bb.9, 4, implicit $eflags, debug-location !57
bb.4.if.then8:
successors: %bb.8(0x30000000), %bb.5(0x50000000)
CALL64pcrel32 @func5, csr_64, implicit $rsp, implicit $ssp, implicit $rdi, implicit $esi, implicit-def $rsp, implicit-def $ssp
renamable $rax = MOV64rm killed renamable $r13, 1, $noreg, 8, $noreg :: (load 8 from %ir.13)
TEST64rr renamable $rax, renamable $rax, implicit-def $eflags
- JCC_1 %bb.8, 4, implicit $eflags
+ JCC_1 %bb.8, 4, implicit $eflags, debug-location !57
bb.5.land.lhs.true:
successors: %bb.6(0x30000000), %bb.7(0x50000000)
liveins: $rax, $r12, $r15
CMP32mi8 renamable $r15, 1, $noreg, 0, $noreg, 0, implicit-def $eflags :: (load 4 from %ir.tot_perf2, align 8)
- JCC_1 %bb.7, 5, implicit $eflags
+ JCC_1 %bb.7, 5, implicit $eflags, debug-location !57
bb.6.lor.lhs.false:
successors: %bb.8(0x30000000), %bb.7(0x50000000)
liveins: $rax, $r12, $r15
CMP32mi8 killed renamable $r15, 1, $noreg, 4, $noreg, 0, implicit-def $eflags :: (load 4 from %ir.tot_bw)
- JCC_1 %bb.8, 4, implicit $eflags
+ JCC_1 %bb.8, 4, implicit $eflags, debug-location !57
bb.7.if.then14:
successors: %bb.8(0x80000000)
renamable $rdx = MOV64rm killed renamable $rax, 1, $noreg, 8, $noreg :: (load 8 from %ir.20)
$rdi = MOV64rr killed $r12
$esi = MOV32rm $rbp, 1, $noreg, -44, $noreg :: (load 4 from %stack.1)
- CALL64pcrel32 @func6, csr_64, implicit $rsp, implicit $ssp, implicit $rdi, implicit $esi, implicit $rdx, implicit-def $rsp, implicit-def $ssp
+ CALL64pcrel32 @func6, csr_64, implicit $rsp, implicit $ssp, implicit $rdi, implicit $esi, implicit $rdx, implicit-def $rsp, implicit-def $ssp, debug-location !57
bb.8.cleanup:
successors: %bb.9(0x80000000)
renamable $ecx = MOV32ri 1
- JMP_1 %bb.9
+ JMP_1 %bb.9, debug-location !57
bb.2.if.then3:
successors: %bb.9(0x80000000)
$edx = MOV32ri 5
$r8d = MOV32rm $rbp, 1, $noreg, -48, $noreg :: (load 4 from %stack.0)
CALL64pcrel32 @func3, csr_64, implicit $rsp, implicit $ssp, implicit $edi, implicit $esi, implicit $edx, implicit $rcx, implicit $r8d, implicit-def $rsp, implicit-def $ssp
- renamable $ecx = XOR32rr undef $ecx, undef $ecx, implicit-def dead $eflags
+ renamable $ecx = XOR32rr undef $ecx, undef $ecx, implicit-def dead $eflags, debug-location !57
bb.9.cleanup:
liveins: $ecx
$r14 = POP64r implicit-def $rsp, implicit $rsp
$r15 = POP64r implicit-def $rsp, implicit $rsp
$rbp = POP64r implicit-def $rsp, implicit $rsp
- RETQ $eax
+ RETQ $eax, debug-location !57
...
# DBG_VALUE for variables "x", "y" and "z" are extended into %bb.9 from its
# predecessors %bb.0, %bb.2 and %bb.8.
# CHECK: bb.9.for.end:
-# CHECK-DAG: DBG_VALUE $edi, $noreg, ![[X_VAR]], !DIExpression(), debug-location !{{[0-9]+}}
-# CHECK-DAG: DBG_VALUE $esi, $noreg, ![[Y_VAR]], !DIExpression(), debug-location !{{[0-9]+}}
-# CHECK-DAG: DBG_VALUE $edx, $noreg, ![[Z_VAR]], !DIExpression(), debug-location !{{[0-9]+}}
+# CHECK-DAG: DBG_VALUE $edi, $noreg, ![[X_VAR]], !DIExpression()
+# CHECK-DAG: DBG_VALUE $esi, $noreg, ![[Y_VAR]], !DIExpression()
+# CHECK-DAG: DBG_VALUE $edx, $noreg, ![[Z_VAR]], !DIExpression()
# CHECK: RET
--- |
# RUN: llc %s -mtriple=x86_64-unknown-unknown -o - -run-pass=livedebugvalues | FileCheck %s --implicit-check-not=DBG_VALUE
+# RUN: llc %s -mtriple=x86_64-unknown-unknown -o - -run-pass=livedebugvalues -experimental-debug-variable-locations | FileCheck %s -check-prefix=NEWLDV --implicit-check-not=DBG_VALUE
#
# Test that the DBG_VALUE of ecx below does not get propagated. It is considered
# live-in on LiveDebugValues' first pass through the loop, but on the second it
# CHECK-LABEL: bb.1.loop:
# CHECK: $ebx = COPY killed $ecx
# CHECK-NEXT: DBG_VALUE
+#
+# This doesn't occur under value-tracking LiveDebugValues though.
+#
+# NEWLDV-LABEL: name: foo
+# NEWLDV-LABEL: bb.0.entry:
+# NEWLDV: $ecx = MOV32ri 0
+# NEWLDV-NEXT: DBG_VALUE
--- |
source_filename = "live-debug-values-remove-range.ll"
CFI_INSTRUCTION def_cfa_offset 16
CFI_INSTRUCTION offset $rbx, -16
$ebx = MOV32rr $edi
- $eax = MOV32ri 0
- $ecx = MOV32ri 0
+ $eax = MOV32ri 0, debug-location !10
+ $ecx = MOV32ri 0, debug-location !10
DBG_VALUE $ecx, $noreg, !9, !DIExpression(), debug-location !10
- $edi = MOV32ri 0
- $esi = MOV32ri 0
+ $edi = MOV32ri 0, debug-location !10
+ $esi = MOV32ri 0, debug-location !10
bb.1.loop:
successors: %bb.1, %bb.2
liveins: $ebx, $eax, $ecx, $edi, $esi
- $eax = COPY $ecx
- $ebx = COPY killed $ecx
- $ecx = COPY killed $edi
- $edi = COPY killed $esi
- $esi = MOV32ri 1
+ $eax = COPY $ecx, debug-location !10
+ $ebx = COPY killed $ecx, debug-location !10
+ $ecx = COPY killed $edi, debug-location !10
+ $edi = COPY killed $esi, debug-location !10
+ $esi = MOV32ri 1, debug-location !10
TEST8ri killed renamable $al, 1, implicit-def $eflags
- JCC_1 %bb.1, 5, implicit killed $eflags
+ JCC_1 %bb.1, 5, implicit killed $eflags, debug-location !10
bb.2.exit:
liveins: $ebx
- $eax = MOV32rr killed $ebx
+ $eax = MOV32rr killed $ebx, debug-location !10
$rbx = frame-destroy POP64r implicit-def $rsp, implicit $rsp
CFI_INSTRUCTION def_cfa_offset 8
- RETQ $eax
+ RETQ $eax, debug-location !10
...
# CHECK: ![[N_VAR:[0-9]+]] = !DILocalVariable(name: "n",{{.*}})
#
# CHECK: bb.5.if.end.7:
-# CHECK: DBG_VALUE $ebx, $noreg, ![[N_VAR]], !DIExpression(), debug-location !{{[0-9]+}}
+# CHECK: DBG_VALUE $ebx, $noreg, ![[N_VAR]], !DIExpression()
--- |
; CHECK-LABEL: bb.0.entry:
; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
; CHECK-LABEL: bb.1.bb1:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.2.bb2:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.3.bb3:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
define i32 @_Z8bb_to_bb() local_unnamed_addr !dbg !12 {
entry:
; a diamond that doesn't move or clobber their locations.
; CHECK-LABEL: bb.0.entry:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.1.bb1:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.2.bb2:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.3.bb3:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
define i32 @_Z8bb_to_bb() local_unnamed_addr !dbg !12 {
entry:
; a diamond when the location is clobbered and not into the successor block.
; CHECK-LABEL: bb.0.entry:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.1.bb1:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-NEXT: $ebx = MOV32ri 0, debug-location !17
; CHECK-LABEL: bb.2.bb2:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-NEXT: $ebx = MOV32ri 0, debug-location !17
define i32 @_Z8bb_to_bb() local_unnamed_addr !dbg !12 {
; diamond CFG when the location is moved by another instruction.
; CHECK-LABEL: bb.0.entry:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.1.bb1:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-NEXT: $eax = MOV32ri 0, debug-location !17
- ; CHECK-NEXT: DBG_VALUE $eax, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK-NEXT: DBG_VALUE $eax, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.2.bb2:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-NEXT: $eax = MOV32ri 0, debug-location !17
- ; CHECK-NEXT: DBG_VALUE $eax, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK-NEXT: DBG_VALUE $eax, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.3.bb3:
- ; CHECK: DBG_VALUE $eax, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $eax, $noreg, !16, !DIExpression()
define i32 @_Z8bb_to_bb() local_unnamed_addr !dbg !12 {
entry:
; of a diamond CFG that clobbers its location.
; CHECK-LABEL: bb.0.entry:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.1.bb1:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.2.bb2:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
define i32 @_Z8bb_to_bb() local_unnamed_addr !dbg !12 {
entry:
; of a diamond CFG that moves its location.
; CHECK-LABEL: bb.0.entry:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.1.bb1:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-NEXT: $eax = MOV32ri 0, debug-location !17
- ; CHECK: DBG_VALUE $eax, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $eax, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.2.bb2:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
define i32 @_Z8bb_to_bb() local_unnamed_addr !dbg !12 {
entry:
; loop that doesn't move or clobber its location.
; CHECK-LABEL: bb.0.entry:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.1.bb1:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.2.bb2:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.3.bb3:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
define i32 @_Z8bb_to_bb() local_unnamed_addr !dbg !12 {
entry:
; sequential CFG.
; CHECK-LABEL: bb.0.entry:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.1.bb1:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.2.bb2:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.3.bb3:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
define i32 @_Z8bb_to_bb() local_unnamed_addr !dbg !12 {
entry:
; control flow when it's location is clobbered.
; CHECK-LABEL: bb.0.entry:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.1.bb1:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
define i32 @_Z8bb_to_bb() local_unnamed_addr !dbg !12 {
entry:
; no control flow when a location is moved and then clobbered.
; CHECK-LABEL: bb.0.entry:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.1.bb1:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-NEXT: $eax = MOV32ri 0, debug-location !17
- ; CHECK: DBG_VALUE $eax, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $eax, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.2.bb2:
- ; CHECK: DBG_VALUE $eax, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $eax, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.3.bb3:
define i32 @_Z8bb_to_bb() local_unnamed_addr !dbg !12 {
; break.
; CHECK-LABEL: bb.0.entry:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.1.bb1:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.2.bb2:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.3.bb3:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.4.bb4:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
define i32 @_Z8bb_to_bb() local_unnamed_addr !dbg !12 {
entry:
; diamond pattern and beyond.
; CHECK-LABEL: bb.0.entry:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.1.bb1:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.2.bb2:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.3.bb3:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.4.bb4:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.5.bb5:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
define i32 @_Z8bb_to_bb() local_unnamed_addr !dbg !12 {
entry:
; diamond pattern but not beyond.
; CHECK-LABEL: bb.0.entry:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.1.bb1:
- ; CHECK: DBG_VALUE $eax, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $eax, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.2.bb2:
- ; CHECK: DBG_VALUE $eax, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $eax, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.3.bb3:
- ; CHECK: DBG_VALUE $eax, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $eax, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.4.bb4:
- ; CHECK: DBG_VALUE $eax, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $eax, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.5.bb5:
- ; CHECK: DBG_VALUE $eax, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $eax, $noreg, !16, !DIExpression()
define i32 @_Z8bb_to_bb() local_unnamed_addr !dbg !12 {
entry:
; backedges and beyond.
; CHECK-LABEL: bb.0.entry:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.1.bb1:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.2.bb2:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.3.bb3:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.4.bb4:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
define i32 @_Z8bb_to_bb() local_unnamed_addr !dbg !12 {
entry:
; Check that DBG_VALUE instructions are propagated into loops within loops.
; CHECK-LABEL: bb.0.entry:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.1.bb1:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.2.bb2:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.3.bb3:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.4.bb4:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.5.bb5:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
define i32 @_Z8bb_to_bb() local_unnamed_addr !dbg !12 {
entry:
; loops that move their locations.
; CHECK-LABEL: bb.0.entry:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.3.bb3:
- ; CHECK: DBG_VALUE $eax, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $eax, $noreg, !16, !DIExpression()
define i32 @_Z8bb_to_bb() local_unnamed_addr !dbg !12 {
entry:
; loops that move their locations.
; CHECK-LABEL: bb.0.entry:
- ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $ebx, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.4.bb4:
- ; CHECK: DBG_VALUE $eax, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $eax, $noreg, !16, !DIExpression()
; CHECK-LABEL: bb.5.bb5:
- ; CHECK: DBG_VALUE $eax, $noreg, !16, !DIExpression(), debug-location !17
+ ; CHECK: DBG_VALUE $eax, $noreg, !16, !DIExpression()
define i32 @_Z8bb_to_bb() local_unnamed_addr !dbg !12 {
entry: