diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2012-01-07 22:42:19 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2012-01-07 22:42:19 +0000 |
commit | 382412032ca795640df1ac68a7d29127715524bf (patch) | |
tree | e439da27bdb68ddbbf9270f248333301b8802da5 /llvm/test/CodeGen/X86 | |
parent | ecb9fa11a4dc809e90f895d42b43f6decfb7fc6e (diff) | |
download | bcm5719-llvm-382412032ca795640df1ac68a7d29127715524bf.tar.gz bcm5719-llvm-382412032ca795640df1ac68a7d29127715524bf.zip |
Don't print a label before .cfi_startproc when we don't need to. This makes
the produce assembly when using CFI just a bit more readable.
llvm-svn: 147743
Diffstat (limited to 'llvm/test/CodeGen/X86')
-rw-r--r-- | llvm/test/CodeGen/X86/dbg-merge-loc-entry.ll | 2 | ||||
-rw-r--r-- | llvm/test/CodeGen/X86/empty-functions.ll | 2 | ||||
-rw-r--r-- | llvm/test/CodeGen/X86/pr11202.ll | 4 | ||||
-rw-r--r-- | llvm/test/CodeGen/X86/tail-dup-addr.ll | 2 |
4 files changed, 4 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/X86/dbg-merge-loc-entry.ll b/llvm/test/CodeGen/X86/dbg-merge-loc-entry.ll index afe1729d506..a624b822758 100644 --- a/llvm/test/CodeGen/X86/dbg-merge-loc-entry.ll +++ b/llvm/test/CodeGen/X86/dbg-merge-loc-entry.ll @@ -10,7 +10,7 @@ target triple = "x86_64-apple-darwin8" ;CHECK-NEXT: .short Lset ;CHECK-NEXT: Ltmp ;CHECK-NEXT: .byte 85 ## DW_OP_reg5 -;CHECK-NEXT: Ltmp7 +;CHECK-NEXT: Ltmp6 ;CHECK-NEXT: .quad 0 ;CHECK-NEXT: .quad 0 diff --git a/llvm/test/CodeGen/X86/empty-functions.ll b/llvm/test/CodeGen/X86/empty-functions.ll index 874c53ac3b0..41dabd2bf70 100644 --- a/llvm/test/CodeGen/X86/empty-functions.ll +++ b/llvm/test/CodeGen/X86/empty-functions.ll @@ -6,14 +6,12 @@ entry: unreachable } ; CHECK-NO-FP: _func: -; CHECK-NO-FP-NEXT: : ; CHECK-NO-FP-NEXT: .cfi_startproc ; CHECK-NO-FP: nop ; CHECK-NO-FP-NEXT: : ; CHECK-NO-FP-NEXT: .cfi_endproc ; CHECK-FP: _func: -; CHECK-FP-NEXT: : ; CHECK-FP-NEXT: .cfi_startproc ; CHECK-FP-NEXT: : ; CHECK-FP-NEXT: pushq %rbp diff --git a/llvm/test/CodeGen/X86/pr11202.ll b/llvm/test/CodeGen/X86/pr11202.ll index 2b26a69caad..13070d1c600 100644 --- a/llvm/test/CodeGen/X86/pr11202.ll +++ b/llvm/test/CodeGen/X86/pr11202.ll @@ -15,5 +15,5 @@ l2: ; preds = %l1 br label %l1 } -; CHECK: .Ltmp1: # Address of block that was removed by CodeGen -; CHECK: .quad .Ltmp1 +; CHECK: .Ltmp0: # Address of block that was removed by CodeGen +; CHECK: .quad .Ltmp0 diff --git a/llvm/test/CodeGen/X86/tail-dup-addr.ll b/llvm/test/CodeGen/X86/tail-dup-addr.ll index c5a105cb587..c68a8c6bf84 100644 --- a/llvm/test/CodeGen/X86/tail-dup-addr.ll +++ b/llvm/test/CodeGen/X86/tail-dup-addr.ll @@ -2,8 +2,8 @@ ; Test that we don't drop a block that has its address taken. +; CHECK: Ltmp0: ## Block address taken ; CHECK: Ltmp1: ## Block address taken -; CHECK: Ltmp2: ## Block address taken @a = common global i32 0, align 4 @p = common global i8* null, align 8 |