From 1886a4c8239c3ce03733dba5a248c4169cb36178 Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen Date: Fri, 25 Mar 2011 17:20:59 +0000 Subject: 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 --- llvm/test/CodeGen/X86/unknown-location.ll | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'llvm/test/CodeGen/X86/unknown-location.ll') 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: -- cgit v1.2.3