diff options
author | dim <dim@FreeBSD.org> | 2013-12-22 00:07:40 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2013-12-22 00:07:40 +0000 |
commit | 952eddef9aff85b1e92626e89baaf7a360e2ac85 (patch) | |
tree | df8df0b0067b381eab470a3b8f28d14a552a6340 /test/CodeGen/builtins.c | |
parent | ea266cad53e3d49771fa38103913d3ec7a166694 (diff) | |
download | FreeBSD-src-952eddef9aff85b1e92626e89baaf7a360e2ac85.zip FreeBSD-src-952eddef9aff85b1e92626e89baaf7a360e2ac85.tar.gz |
Vendor import of clang release_34 branch r197841 (effectively, 3.4 RC3):
https://llvm.org/svn/llvm-project/cfe/branches/release_34@197841
Diffstat (limited to 'test/CodeGen/builtins.c')
-rw-r--r-- | test/CodeGen/builtins.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/builtins.c b/test/CodeGen/builtins.c index 9ba12bb..39bd84c 100644 --- a/test/CodeGen/builtins.c +++ b/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(); |