summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/unknown-location.ll
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-25 17:20:59 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-25 17:20:59 +0000
commit1886a4c8239c3ce03733dba5a248c4169cb36178 (patch)
treef5252b200dd0682e28fb640de0ae385f4afcbffe /llvm/test/CodeGen/X86/unknown-location.ll
parent757ca6977085566766c6f0a9a161a40478bd90e8 (diff)
downloadbcm5719-llvm-1886a4c8239c3ce03733dba5a248c4169cb36178.tar.gz
bcm5719-llvm-1886a4c8239c3ce03733dba5a248c4169cb36178.zip
Emit less labels for debug info and stop emitting .loc directives for DBG_VALUEs.
The .dot directives don't need labels, that is a leftover from when we created line number info manually. Instructions following a DBG_VALUE can share its label since the DBG_VALUE doesn't produce any code. llvm-svn: 128284
Diffstat (limited to 'llvm/test/CodeGen/X86/unknown-location.ll')
-rw-r--r--llvm/test/CodeGen/X86/unknown-location.ll11
1 files changed, 3 insertions, 8 deletions
diff --git a/llvm/test/CodeGen/X86/unknown-location.ll b/llvm/test/CodeGen/X86/unknown-location.ll
index 7d101bf95cf..b89c4738af1 100644
--- a/llvm/test/CodeGen/X86/unknown-location.ll
+++ b/llvm/test/CodeGen/X86/unknown-location.ll
@@ -4,16 +4,11 @@
; represent this in the debug information. This is done by setting line
; and column to 0
-; CHECK: leal (%rdi,%rsi), %eax
+; CHECK: leal
; CHECK-NEXT: .loc 1 0 0
-; CHECK-NEXT: Ltmp
-; CHECK-NEXT: cltd
-; CHECK-NEXT: idivl %r8d
+; CHECK: cltd
+; CHECK-NEXT: idivl
; CHECK-NEXT: .loc 2 4 3
-; CHECK-NEXT: Ltmp
-; CHECK-NEXT: addl %ecx, %eax
-; CHECK-NEXT: ret
-; CHECK-NEXT: Ltmp
define i32 @foo(i32 %w, i32 %x, i32 %y, i32 %z) nounwind {
entry:
OpenPOWER on IntegriCloud