diff options
author | Pete Cooper <peter_cooper@apple.com> | 2018-12-18 20:33:00 +0000 |
---|---|---|
committer | Pete Cooper <peter_cooper@apple.com> | 2018-12-18 20:33:00 +0000 |
commit | 2cd3596b1a48a3ff007f58f933e77442caeec746 (patch) | |
tree | 3d97406966339ee15d714a06df59b69b65e9b7d6 /clang/test/CodeGenObjC/arc-weak.m | |
parent | be4f5711073613115c036206db0d9a45fd0632ab (diff) | |
download | llvm-2cd3596b1a48a3ff007f58f933e77442caeec746.zip llvm-2cd3596b1a48a3ff007f58f933e77442caeec746.tar.gz llvm-2cd3596b1a48a3ff007f58f933e77442caeec746.tar.bz2 |
Generate objc intrinsics instead of runtime calls as the ARC optimizer now works only on intrinsics
Differential Revision: https://reviews.llvm.org/D55802
Reviewers: rjmccall
llvm-svn: 349535
Diffstat (limited to 'clang/test/CodeGenObjC/arc-weak.m')
-rw-r--r-- | clang/test/CodeGenObjC/arc-weak.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenObjC/arc-weak.m b/clang/test/CodeGenObjC/arc-weak.m index 59f8d1d..a976402 100644 --- a/clang/test/CodeGenObjC/arc-weak.m +++ b/clang/test/CodeGenObjC/arc-weak.m @@ -15,6 +15,6 @@ void test0(__weak B **src) { // CHECK-NEXT: [[T1:%.*]] = bitcast [[B]]** [[T0]] to [[A]]** // CHECK-NEXT: [[T2:%.*]] = bitcast [[A]]** [[DEST]] to i8** // CHECK-NEXT: [[T3:%.*]] = bitcast [[A]]** [[T1]] to i8** -// CHECK-NEXT: call void @objc_copyWeak(i8** [[T2]], i8** [[T3]]) +// CHECK-NEXT: call void @llvm.objc.copyWeak(i8** [[T2]], i8** [[T3]]) // CHECK-NEXT: [[T0:%.*]] = bitcast [[A]]** [[DEST]] to i8** -// CHECK: call void @objc_destroyWeak(i8** [[T0]]) +// CHECK: call void @llvm.objc.destroyWeak(i8** [[T0]]) |