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 | 4362261b0093730e46ffcad910e8b465cf0bb1cb (patch) | |
tree | b05fa6d247505d0ab46b16619f702532e189f698 /clang/test/CodeGen/unsigned-overflow.c | |
parent | 83e042a21b5392882ccc020baa9ade52851b5903 (diff) | |
download | bcm5719-llvm-4362261b0093730e46ffcad910e8b465cf0bb1cb.tar.gz bcm5719-llvm-4362261b0093730e46ffcad910e8b465cf0bb1cb.zip |
CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail.
llvm-svn: 188447
Diffstat (limited to 'clang/test/CodeGen/unsigned-overflow.c')
-rw-r--r-- | clang/test/CodeGen/unsigned-overflow.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/clang/test/CodeGen/unsigned-overflow.c b/clang/test/CodeGen/unsigned-overflow.c index 341ea355636..01ed0bf8cb5 100644 --- a/clang/test/CodeGen/unsigned-overflow.c +++ b/clang/test/CodeGen/unsigned-overflow.c @@ -8,7 +8,7 @@ unsigned int ii, ij, ik; extern void opaquelong(unsigned long); extern void opaqueint(unsigned int); -// CHECK: define void @testlongadd() +// CHECK-LABEL: define void @testlongadd() void testlongadd() { // CHECK: [[T1:%.*]] = load i64* @lj @@ -20,7 +20,7 @@ void testlongadd() { li = lj + lk; } -// CHECK: define void @testlongsub() +// CHECK-LABEL: define void @testlongsub() void testlongsub() { // CHECK: [[T1:%.*]] = load i64* @lj @@ -32,7 +32,7 @@ void testlongsub() { li = lj - lk; } -// CHECK: define void @testlongmul() +// CHECK-LABEL: define void @testlongmul() void testlongmul() { // CHECK: [[T1:%.*]] = load i64* @lj @@ -44,7 +44,7 @@ void testlongmul() { li = lj * lk; } -// CHECK: define void @testlongpostinc() +// CHECK-LABEL: define void @testlongpostinc() void testlongpostinc() { opaquelong(li++); @@ -55,7 +55,7 @@ void testlongpostinc() { // CHECK: call void @__ubsan_handle_add_overflow } -// CHECK: define void @testlongpreinc() +// CHECK-LABEL: define void @testlongpreinc() void testlongpreinc() { opaquelong(++li); @@ -66,7 +66,7 @@ void testlongpreinc() { // CHECK: call void @__ubsan_handle_add_overflow } -// CHECK: define void @testintadd() +// CHECK-LABEL: define void @testintadd() void testintadd() { // CHECK: [[T1:%.*]] = load i32* @ij @@ -78,7 +78,7 @@ void testintadd() { ii = ij + ik; } -// CHECK: define void @testintsub() +// CHECK-LABEL: define void @testintsub() void testintsub() { // CHECK: [[T1:%.*]] = load i32* @ij @@ -90,7 +90,7 @@ void testintsub() { ii = ij - ik; } -// CHECK: define void @testintmul() +// CHECK-LABEL: define void @testintmul() void testintmul() { // CHECK: [[T1:%.*]] = load i32* @ij @@ -102,7 +102,7 @@ void testintmul() { ii = ij * ik; } -// CHECK: define void @testintpostinc() +// CHECK-LABEL: define void @testintpostinc() void testintpostinc() { opaqueint(ii++); @@ -113,7 +113,7 @@ void testintpostinc() { // CHECK: call void @__ubsan_handle_add_overflow } -// CHECK: define void @testintpreinc() +// CHECK-LABEL: define void @testintpreinc() void testintpreinc() { opaqueint(++ii); |