aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/address-space.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/address-space.c')
-rw-r--r--test/CodeGen/address-space.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/address-space.c b/test/CodeGen/address-space.c
index 9de0670b1024..3e865fd3b775 100644
--- a/test/CodeGen/address-space.c
+++ b/test/CodeGen/address-space.c
@@ -9,11 +9,11 @@ int foo __attribute__((address_space(1)));
// CHECK: @ban = common addrspace(1) global
int ban[10] __attribute__((address_space(1)));
-// CHECK: define i32 @test1()
+// CHECK-LABEL: define i32 @test1()
// CHECK: load i32 addrspace(1)* @foo
int test1() { return foo; }
-// CHECK: define i32 @test2(i32 %i)
+// CHECK-LABEL: define i32 @test2(i32 %i)
// CHECK: load i32 addrspace(1)*
// CHECK-NEXT: ret i32
int test2(int i) { return ban[i]; }
@@ -21,7 +21,7 @@ int test2(int i) { return ban[i]; }
// Both A and B point into addrspace(2).
__attribute__((address_space(2))) int *A, *B;
-// CHECK: define void @test3()
+// CHECK-LABEL: define void @test3()
// CHECK: load i32 addrspace(2)** @B
// CHECK: load i32 addrspace(2)*
// CHECK: load i32 addrspace(2)** @A
@@ -35,7 +35,7 @@ typedef struct {
float aData[1];
} MyStruct;
-// CHECK: define void @test4(
+// CHECK-LABEL: define void @test4(
// CHECK: call void @llvm.memcpy.p0i8.p2i8
// CHECK: call void @llvm.memcpy.p2i8.p0i8
void test4(MyStruct __attribute__((address_space(2))) *pPtr) {