summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-10-06 17:38:38 +0000
committerDan Gohman <gohman@apple.com>2009-10-06 17:38:38 +0000
commit10d3dc569b2afe1ba9dccf6650b131b87f9be4ad (patch)
tree3e110925ac5ddd5d4e2d7e4c3c101847fef91538 /llvm/test
parent92e3a06623077fceb781f66acfc691b26642c376 (diff)
downloadbcm5719-llvm-10d3dc569b2afe1ba9dccf6650b131b87f9be4ad.tar.gz
bcm5719-llvm-10d3dc569b2afe1ba9dccf6650b131b87f9be4ad.zip
Instead of printing unnecessary basic block labels as labels in
verbose-asm mode, print comments instead. This eliminates a non-comment difference between verbose-asm mode and non-verbose-asm mode. Also, factor out the relevant code out of all the targets and into target-independent code. llvm-svn: 83392
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/X86/2006-10-19-SwitchUnnecessaryBranching.ll2
-rw-r--r--llvm/test/CodeGen/X86/pic.ll3
2 files changed, 2 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/2006-10-19-SwitchUnnecessaryBranching.ll b/llvm/test/CodeGen/X86/2006-10-19-SwitchUnnecessaryBranching.ll
index 4fd80724651..88e8b4a4fd9 100644
--- a/llvm/test/CodeGen/X86/2006-10-19-SwitchUnnecessaryBranching.ll
+++ b/llvm/test/CodeGen/X86/2006-10-19-SwitchUnnecessaryBranching.ll
@@ -7,7 +7,7 @@ define i32 @test(i32 %argc, i8** %argv) nounwind {
entry:
; CHECK: cmpl $2
; CHECK-NEXT: je
-; CHECK-NEXT: LBB1_1
+; CHECK-NEXT: %entry
switch i32 %argc, label %UnifiedReturnBlock [
i32 1, label %bb
diff --git a/llvm/test/CodeGen/X86/pic.ll b/llvm/test/CodeGen/X86/pic.ll
index e9218edebf1..3a547f95f83 100644
--- a/llvm/test/CodeGen/X86/pic.ll
+++ b/llvm/test/CodeGen/X86/pic.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=i686-pc-linux-gnu -relocation-model=pic | FileCheck %s -check-prefix=LINUX
+; RUN: llc < %s -mtriple=i686-pc-linux-gnu -relocation-model=pic -asm-verbose=false | FileCheck %s -check-prefix=LINUX
@ptr = external global i32*
@dst = external global i32
@@ -12,7 +12,6 @@ entry:
ret void
; LINUX: test1:
-; LINUX: .LBB1_0:
; LINUX: call .L1$pb
; LINUX-NEXT: .L1$pb:
; LINUX-NEXT: popl
OpenPOWER on IntegriCloud