]> granicus.if.org Git - clang/commitdiff
Fix one more check string after r315045.
authorAkira Hatanaka <ahatanaka@apple.com>
Fri, 6 Oct 2017 08:19:31 +0000 (08:19 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Fri, 6 Oct 2017 08:19:31 +0000 (08:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@315049 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenObjC/os_log.m

index 9bcc712a79ffad1dac3747d69ba493fde65d21f3..1cf0c9f1f35c4ab7465a5b9d7894aad62053d832 100644 (file)
@@ -46,7 +46,7 @@ void *test_builtin_os_log(void *buf) {
   // CHECK-O0: %[[CALL:.*]] = call %[[TY0:.*]]* (...) @GenString()
   // CHECK-O0: %[[V1:.*]] = bitcast %[[TY0]]* %[[CALL]] to i8*
   // CHECK-O0: %[[V2:.*]] = call i8* @objc_retainAutoreleasedReturnValue(i8* %[[V1]])
-  // CHECK-O0: %[[V3:.*]] = bitcast i8* %[[V2]] to %[[V0]]*
+  // CHECK-O0: %[[V3:.*]] = bitcast i8* %[[V2]] to %[[TY0]]*
   // CHECK-O0: %[[V4:.*]] = ptrtoint %[[TY0]]* %[[V3]] to i64
   // CHECK-O0: call void @__os_log_helper_1_2_1_8_64(i8* %[[V0]], i64 %[[V4]])
   // CHECK-O0: %[[V5:.*]] = bitcast %[[TY0]]* %[[V3]] to i8*