From e3cc3f3c84abfdf8eb3bd19dfa806ceea49f15d6 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 6 Oct 2009 17:38:38 +0000 Subject: 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83392 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/2006-10-19-SwitchUnnecessaryBranching.ll | 2 +- test/CodeGen/X86/pic.ll | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'test/CodeGen/X86') diff --git a/test/CodeGen/X86/2006-10-19-SwitchUnnecessaryBranching.ll b/test/CodeGen/X86/2006-10-19-SwitchUnnecessaryBranching.ll index 4fd8072..88e8b4a 100644 --- a/test/CodeGen/X86/2006-10-19-SwitchUnnecessaryBranching.ll +++ b/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/test/CodeGen/X86/pic.ll b/test/CodeGen/X86/pic.ll index e9218ed..3a547f9 100644 --- a/test/CodeGen/X86/pic.ll +++ b/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 -- cgit v1.1