From 676fbe8105eeb6ff4bb2ed261cb212fcfdbe7b63 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 19 Jan 2019 10:04:05 +0000 Subject: Vendor import of clang trunk r351319 (just before the release_80 branch point): https://llvm.org/svn/llvm-project/cfe/trunk@351319 --- test/CodeGenObjC/parameterized_classes.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/CodeGenObjC/parameterized_classes.m') diff --git a/test/CodeGenObjC/parameterized_classes.m b/test/CodeGenObjC/parameterized_classes.m index 34aca35af313..c2ddb5b551a9 100644 --- a/test/CodeGenObjC/parameterized_classes.m +++ b/test/CodeGenObjC/parameterized_classes.m @@ -61,11 +61,11 @@ void printMe(NSString *name) { } // CHECK-LABEL: define void @blockTest void blockTest(NSMutableArray *array, NSString *name) { // CHECK-NOT: ret void - // CHECK: call i8* @objc_retainBlock + // CHECK: call i8* @llvm.objc.retainBlock [array addObject: ^ { printMe(name); }]; // CHECK-NOT: ret void array[0] = ^ { printMe(name); }; - // CHECK: call i8* @objc_retainBlock + // CHECK: call i8* @llvm.objc.retainBlock // CHECK: ret void } @@ -80,7 +80,7 @@ void blockTest(NSMutableArray *array, NSString *name) { // CHECK: %[[V5:.*]] = bitcast i8* %[[ADDPTR]] to %[[IVARTY]]** // CHECK: %[[V6:.*]] = bitcast %[[IVARTY]]** %[[V5]] to i8** // CHECK: %[[V7:.*]] = bitcast %[[IVARTY]]* %[[V2]] to i8* -// CHECK: call void @objc_storeStrong(i8** %[[V6]], i8* %[[V7]]) +// CHECK: call void @llvm.objc.storeStrong(i8** %[[V6]], i8* %[[V7]]) @interface Base : NSObject { DestType _destination; -- cgit v1.3