From b4dc0233c9f70e8cf946822811f233bb613a02e9 Mon Sep 17 00:00:00 2001 From: Stephen Lin Date: Sat, 13 Jul 2013 20:38:47 +0000 Subject: Convert CodeGen/*/*.ll tests to use the new CHECK-LABEL for easier debugging. No functionality change and all tests pass after conversion. This was done with the following sed invocation to catch label lines demarking function boundaries: sed -i '' "s/^;\( *\)\([A-Z0-9_]*\):\( *\)test\([A-Za-z0-9_-]*\):\( *\)$/;\1\2-LABEL:\3test\4:\5/g" test/CodeGen/*/*.ll which was written conservatively to avoid false positives rather than false negatives. I scanned through all the changes and everything looks correct. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186258 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/XCore/fneg.ll | 2 +- test/CodeGen/XCore/getid.ll | 2 +- test/CodeGen/XCore/resources.ll | 4 ++-- test/CodeGen/XCore/trap.ll | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'test/CodeGen/XCore') diff --git a/test/CodeGen/XCore/fneg.ll b/test/CodeGen/XCore/fneg.ll index d442a19712..67ab6195aa 100644 --- a/test/CodeGen/XCore/fneg.ll +++ b/test/CodeGen/XCore/fneg.ll @@ -1,7 +1,7 @@ ; RUN: llc < %s -march=xcore | FileCheck %s define i1 @test(double %F) nounwind { entry: -; CHECK: test: +; CHECK-LABEL: test: ; CHECK: xor %0 = fsub double -0.000000e+00, %F %1 = fcmp olt double 0.000000e+00, %0 diff --git a/test/CodeGen/XCore/getid.ll b/test/CodeGen/XCore/getid.ll index ec46071b54..da80e10a0a 100644 --- a/test/CodeGen/XCore/getid.ll +++ b/test/CodeGen/XCore/getid.ll @@ -2,7 +2,7 @@ declare i32 @llvm.xcore.getid() define i32 @test() { -; CHECK: test: +; CHECK-LABEL: test: ; CHECK: get r11, id ; CHECK-NEXT: mov r0, r11 %result = call i32 @llvm.xcore.getid() diff --git a/test/CodeGen/XCore/resources.ll b/test/CodeGen/XCore/resources.ll index 8f00fed160..74511ad452 100644 --- a/test/CodeGen/XCore/resources.ll +++ b/test/CodeGen/XCore/resources.ll @@ -227,14 +227,14 @@ define i32 @endin(i8 addrspace(1)* %r) { } define i32 @testct(i8 addrspace(1)* %r) { -; CHECK: testct: +; CHECK-LABEL: testct: ; CHECK: testct r0, res[r0] %result = call i32 @llvm.xcore.testct.p1i8(i8 addrspace(1)* %r) ret i32 %result } define i32 @testwct(i8 addrspace(1)* %r) { -; CHECK: testwct: +; CHECK-LABEL: testwct: ; CHECK: testwct r0, res[r0] %result = call i32 @llvm.xcore.testwct.p1i8(i8 addrspace(1)* %r) ret i32 %result diff --git a/test/CodeGen/XCore/trap.ll b/test/CodeGen/XCore/trap.ll index eb71cb6acb..ef0dfd6340 100644 --- a/test/CodeGen/XCore/trap.ll +++ b/test/CodeGen/XCore/trap.ll @@ -1,7 +1,7 @@ ; RUN: llc < %s -march=xcore | FileCheck %s define i32 @test() noreturn nounwind { entry: -; CHECK: test: +; CHECK-LABEL: test: ; CHECK: ldc ; CHECK: ecallf tail call void @llvm.trap( ) -- cgit v1.2.3