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
diff --git a/test/CodeGen/unsigned-promotion.c b/test/CodeGen/unsigned-promotion.c
index c263c0c..2c34152 100644
--- a/test/CodeGen/unsigned-promotion.c
+++ b/test/CodeGen/unsigned-promotion.c
@@ -12,8 +12,8 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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