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/builtins.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/builtins.c')
-rw-r--r-- | clang/test/CodeGen/builtins.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/CodeGen/builtins.c b/clang/test/CodeGen/builtins.c index 9ba12bbf2fe..39bd84c5a5a 100644 --- a/clang/test/CodeGen/builtins.c +++ b/clang/test/CodeGen/builtins.c @@ -131,7 +131,7 @@ void foo() { __builtin_strcat(0, 0); } -// CHECK: define void @bar( +// CHECK-LABEL: define void @bar( void bar() { float f; double d; @@ -167,7 +167,7 @@ void bar() { // CHECK: } -// CHECK: define void @test_float_builtins +// CHECK-LABEL: define void @test_float_builtins void test_float_builtins(float F, double D, long double LD) { volatile int res; res = __builtin_isinf(F); @@ -197,7 +197,7 @@ void test_float_builtins(float F, double D, long double LD) { // CHECK: and i1 } -// CHECK: define void @test_builtin_longjmp +// CHECK-LABEL: define void @test_builtin_longjmp void test_builtin_longjmp(void **buffer) { // CHECK: [[BITCAST:%.*]] = bitcast // CHECK-NEXT: call void @llvm.eh.sjlj.longjmp(i8* [[BITCAST]]) @@ -205,7 +205,7 @@ void test_builtin_longjmp(void **buffer) { // CHECK-NEXT: unreachable } -// CHECK: define i64 @test_builtin_readcyclecounter +// CHECK-LABEL: define i64 @test_builtin_readcyclecounter long long test_builtin_readcyclecounter() { // CHECK: call i64 @llvm.readcyclecounter() return __builtin_readcyclecounter(); |