From 4362261b0093730e46ffcad910e8b465cf0bb1cb Mon Sep 17 00:00:00 2001 From: Stephen Lin Date: Thu, 15 Aug 2013 06:47:53 +0000 Subject: CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. llvm-svn: 188447 --- clang/test/CodeGen/Atomics.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang/test/CodeGen/Atomics.c') diff --git a/clang/test/CodeGen/Atomics.c b/clang/test/CodeGen/Atomics.c index 2bb38fd749c..5798dfff46b 100644 --- a/clang/test/CodeGen/Atomics.c +++ b/clang/test/CodeGen/Atomics.c @@ -11,7 +11,7 @@ unsigned int ui; signed long long sll; unsigned long long ull; -void test_op_ignore (void) // CHECK: define void @test_op_ignore +void test_op_ignore (void) // CHECK-LABEL: define void @test_op_ignore { (void) __sync_fetch_and_add (&sc, 1); // CHECK: atomicrmw add i8 (void) __sync_fetch_and_add (&uc, 1); // CHECK: atomicrmw add i8 @@ -60,7 +60,7 @@ void test_op_ignore (void) // CHECK: define void @test_op_ignore } -void test_fetch_and_op (void) // CHECK: define void @test_fetch_and_op +void test_fetch_and_op (void) // CHECK-LABEL: define void @test_fetch_and_op { sc = __sync_fetch_and_add (&sc, 11); // CHECK: atomicrmw add uc = __sync_fetch_and_add (&uc, 11); // CHECK: atomicrmw add -- cgit v1.2.3