diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-06-15 15:52:58 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-06-15 15:52:58 +0000 |
commit | f14b44c71b3a58c3aef8e277dd3817cb216b5661 (patch) | |
tree | 6e1702d2e22384ef0db81d1e1cf0f3397a53ba26 /test/CodeGen/ARM | |
parent | 515971fdd77b82fe3dabdbaf34524cafc3f08415 (diff) | |
download | llvm-f14b44c71b3a58c3aef8e277dd3817cb216b5661.tar.gz llvm-f14b44c71b3a58c3aef8e277dd3817cb216b5661.tar.bz2 llvm-f14b44c71b3a58c3aef8e277dd3817cb216b5661.tar.xz |
DebugInfo: print DBG_VALUE MachineInstrs with [] for deref and drop the offset when it's zero
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184045 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM')
-rw-r--r-- | test/CodeGen/ARM/debug-info-arg.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/ARM/debug-info-branch-folding.ll | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/ARM/debug-info-arg.ll b/test/CodeGen/ARM/debug-info-arg.ll index c162260dcd..bb33eb6950 100644 --- a/test/CodeGen/ARM/debug-info-arg.ll +++ b/test/CodeGen/ARM/debug-info-arg.ll @@ -11,7 +11,7 @@ define void @foo(%struct.tag_s* nocapture %this, %struct.tag_s* %c, i64 %x, i64 tail call void @llvm.dbg.value(metadata !{%struct.tag_s* %c}, i64 0, metadata !13), !dbg !21 tail call void @llvm.dbg.value(metadata !{i64 %x}, i64 0, metadata !14), !dbg !22 tail call void @llvm.dbg.value(metadata !{i64 %y}, i64 0, metadata !17), !dbg !23 -;CHECK: @DEBUG_VALUE: foo:y <- R7+4294967295 +;CHECK: @DEBUG_VALUE: foo:y <- [R7+4294967295] tail call void @llvm.dbg.value(metadata !{%struct.tag_s* %ptr1}, i64 0, metadata !18), !dbg !24 tail call void @llvm.dbg.value(metadata !{%struct.tag_s* %ptr2}, i64 0, metadata !19), !dbg !25 %1 = icmp eq %struct.tag_s* %c, null, !dbg !26 diff --git a/test/CodeGen/ARM/debug-info-branch-folding.ll b/test/CodeGen/ARM/debug-info-branch-folding.ll index 38945ac2ea..364519fb19 100644 --- a/test/CodeGen/ARM/debug-info-branch-folding.ll +++ b/test/CodeGen/ARM/debug-info-branch-folding.ll @@ -5,8 +5,8 @@ target triple = "thumbv7-apple-macosx10.6.7" ;CHECK: vadd.f32 q4, q8, q8 ;CHECK-NEXT: LBB0_1 -;CHECK:@DEBUG_VALUE: x <- Q4+0 -;CHECK-NEXT:@DEBUG_VALUE: y <- Q4+0 +;CHECK:@DEBUG_VALUE: x <- Q4 +;CHECK-NEXT:@DEBUG_VALUE: y <- Q4 @.str = external constant [13 x i8] |