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/vla.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/vla.c')
-rw-r--r-- | test/CodeGen/vla.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/CodeGen/vla.c b/test/CodeGen/vla.c index f63796b..1757ef7 100644 --- a/test/CodeGen/vla.c +++ b/test/CodeGen/vla.c @@ -37,7 +37,7 @@ void g(int count) { } // rdar://8403108 -// CHECK: define void @f_8403108 +// CHECK-LABEL: define void @f_8403108 void f_8403108(unsigned x) { // CHECK: call i8* @llvm.stacksave() char s1[x]; @@ -86,7 +86,7 @@ int test2(int n) } // http://llvm.org/PR8567 -// CHECK: define double @test_PR8567 +// CHECK-LABEL: define double @test_PR8567 double test_PR8567(int n, double (*p)[n][5]) { // CHECK: [[NV:%.*]] = alloca i32, align 4 // CHECK-NEXT: [[PV:%.*]] = alloca [5 x double]*, align 4 @@ -104,7 +104,7 @@ double test_PR8567(int n, double (*p)[n][5]) { } int test4(unsigned n, char (*p)[n][n+1][6]) { - // CHECK: define i32 @test4( + // CHECK-LABEL: define i32 @test4( // CHECK: [[N:%.*]] = alloca i32, align 4 // CHECK-NEXT: [[P:%.*]] = alloca [6 x i8]*, align 4 // CHECK-NEXT: [[P2:%.*]] = alloca [6 x i8]*, align 4 @@ -146,7 +146,7 @@ int test4(unsigned n, char (*p)[n][n+1][6]) { // rdar://11485774 void test5(void) { - // CHECK: define void @test5( + // CHECK-LABEL: define void @test5( int a[5], i = 0; // CHECK: [[A:%.*]] = alloca [5 x i32], align 4 // CHECK-NEXT: [[I:%.*]] = alloca i32, align 4 @@ -169,7 +169,7 @@ void test5(void) void test6(void) { - // CHECK: define void @test6( + // CHECK-LABEL: define void @test6( int n = 20, **a, i=0; // CHECK: [[N:%.*]] = alloca i32, align 4 // CHECK-NEXT: [[A:%.*]] = alloca i32**, align 4 @@ -192,6 +192,6 @@ void test6(void) // Follow gcc's behavior for VLAs in parameter lists. PR9559. void test7(int a[b(0)]) { - // CHECK: define void @test7( + // CHECK-LABEL: define void @test7( // CHECK: call i32 @b(i8* null) } |