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 | c9380db4ba52dbe0bae316867c0dd314b78c290a (patch) | |
tree | a18bf5a32d357011773ca9a7bfd1b32407510cb9 /llvm/test/CodeGen/ARM | |
parent | 4898e62ac09c045c9342c231b73e6150f0d2cd4f (diff) | |
download | bcm5719-llvm-c9380db4ba52dbe0bae316867c0dd314b78c290a.tar.gz bcm5719-llvm-c9380db4ba52dbe0bae316867c0dd314b78c290a.zip |
DebugInfo: print DBG_VALUE MachineInstrs with [] for deref and drop the offset when it's zero
llvm-svn: 184045
Diffstat (limited to 'llvm/test/CodeGen/ARM')
-rw-r--r-- | llvm/test/CodeGen/ARM/debug-info-arg.ll | 2 | ||||
-rw-r--r-- | llvm/test/CodeGen/ARM/debug-info-branch-folding.ll | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/ARM/debug-info-arg.ll b/llvm/test/CodeGen/ARM/debug-info-arg.ll index c162260dcd0..bb33eb69507 100644 --- a/llvm/test/CodeGen/ARM/debug-info-arg.ll +++ b/llvm/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/llvm/test/CodeGen/ARM/debug-info-branch-folding.ll b/llvm/test/CodeGen/ARM/debug-info-branch-folding.ll index 38945ac2ea7..364519fb19b 100644 --- a/llvm/test/CodeGen/ARM/debug-info-branch-folding.ll +++ b/llvm/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] |