diff options
author | Stephen Lin <stephenwlin@gmail.com> | 2013-08-15 06:47:53 +0000 |
---|---|---|
committer | Stephen Lin <stephenwlin@gmail.com> | 2013-08-15 06:47:53 +0000 |
commit | 93ab6bf534fb6c26563c00f28a8fc5581bb71dfd (patch) | |
tree | 938e985e9673d1b0d289e8ed751943edc097da1d /test/CodeGen/unsigned-promotion.c | |
parent | 233fbe1f56183878167a56be53425a6dd25ba334 (diff) | |
download | clang-93ab6bf534fb6c26563c00f28a8fc5581bb71dfd.tar.gz |
CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188447 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/unsigned-promotion.c')
-rw-r--r-- | test/CodeGen/unsigned-promotion.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/CodeGen/unsigned-promotion.c b/test/CodeGen/unsigned-promotion.c index c263c0c946..2c3415201c 100644 --- a/test/CodeGen/unsigned-promotion.c +++ b/test/CodeGen/unsigned-promotion.c @@ -12,8 +12,8 @@ unsigned char ci, cj, ck; extern void opaqueshort(unsigned short); extern void opaquechar(unsigned char); -// CHECKS: define void @testshortadd() -// CHECKU: define void @testshortadd() +// CHECKS-LABEL: define void @testshortadd() +// CHECKU-LABEL: define void @testshortadd() void testshortadd() { // CHECKS: load i16* @sj // CHECKS: load i16* @sk @@ -33,8 +33,8 @@ void testshortadd() { si = sj + sk; } -// CHECKS: define void @testshortsub() -// CHECKU: define void @testshortsub() +// CHECKS-LABEL: define void @testshortsub() +// CHECKU-LABEL: define void @testshortsub() void testshortsub() { // CHECKS: load i16* @sj @@ -55,8 +55,8 @@ void testshortsub() { si = sj - sk; } -// CHECKS: define void @testshortmul() -// CHECKU: define void @testshortmul() +// CHECKS-LABEL: define void @testshortmul() +// CHECKU-LABEL: define void @testshortmul() void testshortmul() { // CHECKS: load i16* @sj @@ -76,8 +76,8 @@ void testshortmul() { si = sj * sk; } -// CHECKS: define void @testcharadd() -// CHECKU: define void @testcharadd() +// CHECKS-LABEL: define void @testcharadd() +// CHECKU-LABEL: define void @testcharadd() void testcharadd() { // CHECKS: load i8* @cj @@ -98,8 +98,8 @@ void testcharadd() { ci = cj + ck; } -// CHECKS: define void @testcharsub() -// CHECKU: define void @testcharsub() +// CHECKS-LABEL: define void @testcharsub() +// CHECKU-LABEL: define void @testcharsub() void testcharsub() { // CHECKS: load i8* @cj @@ -120,8 +120,8 @@ void testcharsub() { ci = cj - ck; } -// CHECKS: define void @testcharmul() -// CHECKU: define void @testcharmul() +// CHECKS-LABEL: define void @testcharmul() +// CHECKU-LABEL: define void @testcharmul() void testcharmul() { // CHECKS: load i8* @cj |