r349853 - [CodeGen] Fix a test from r349848 by replacing `objc_` with `llvm.objc.`

Volodymyr Sapsai via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 20 15:26:29 PST 2018


Author: vsapsai
Date: Thu Dec 20 15:26:29 2018
New Revision: 349853

URL: http://llvm.org/viewvc/llvm-project?rev=349853&view=rev
Log:
[CodeGen] Fix a test from r349848 by replacing `objc_` with `llvm.objc.`

Modified:
    cfe/trunk/test/CodeGenObjCXX/inheriting-constructor-cleanup.mm

Modified: cfe/trunk/test/CodeGenObjCXX/inheriting-constructor-cleanup.mm
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjCXX/inheriting-constructor-cleanup.mm?rev=349853&r1=349852&r2=349853&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjCXX/inheriting-constructor-cleanup.mm (original)
+++ cfe/trunk/test/CodeGenObjCXX/inheriting-constructor-cleanup.mm Thu Dec 20 15:26:29 2018
@@ -23,7 +23,7 @@ void f() {
 }
 // CHECK-LABEL: define void @_Z1fv
 // CHECK:       %[[TMP:.*]] = call i8* @_Z1gv()
-// CHECK:       {{.*}} = call i8* @objc_retainAutoreleasedReturnValue(i8* %[[TMP]])
+// CHECK:       {{.*}} = call i8* @llvm.objc.retainAutoreleasedReturnValue(i8* %[[TMP]])
 // CHECK:       call void (%struct.Base*, i8*, ...) @_ZN4BaseC2E6Strongz(%struct.Base* {{.*}}, i8* {{.*}})
 // CHECK-NEXT:  call void @_ZN9InheritorD1Ev(%struct.Inheritor* {{.*}})
 
@@ -37,7 +37,7 @@ void f() {
 // CHECK:       call void @_ZN6StrongD2Ev(%struct.Strong* {{.*}})
 
 // CHECK-LABEL: define linkonce_odr void @_ZN6StrongD2Ev(%struct.Strong* {{.*}})
-// CHECK:       call void @objc_storeStrong(i8** {{.*}}, i8* null)
+// CHECK:       call void @llvm.objc.storeStrong(i8** {{.*}}, i8* null)
 
 // CHECK-LABEL: define linkonce_odr void @_ZN9InheritorD2Ev(%struct.Inheritor* {{.*}})
 // CHECK:       call void @_ZN14NonTrivialDtorD2Ev(%struct.NonTrivialDtor* {{.*}})




More information about the cfe-commits mailing list