[clang] 644917b - Remove unnecessary metadata check in test
Akira Hatanaka via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 9 06:44:03 PDT 2023
Author: Akira Hatanaka
Date: 2023-06-09T06:41:22-07:00
New Revision: 644917bb7c05d330b3dfa75ccd50414f9b9cd8ee
URL: https://github.com/llvm/llvm-project/commit/644917bb7c05d330b3dfa75ccd50414f9b9cd8ee
DIFF: https://github.com/llvm/llvm-project/commit/644917bb7c05d330b3dfa75ccd50414f9b9cd8ee.diff
LOG: Remove unnecessary metadata check in test
Added:
Modified:
clang/test/CodeGenObjC/arc.m
Removed:
################################################################################
diff --git a/clang/test/CodeGenObjC/arc.m b/clang/test/CodeGenObjC/arc.m
index 05a3a647b818a..997bbc3f6b1ee 100644
--- a/clang/test/CodeGenObjC/arc.m
+++ b/clang/test/CodeGenObjC/arc.m
@@ -1414,14 +1414,14 @@ void test71(void) {
// CHECK: %[[ARRAYDESTROY_ELEMENTPAST:.*]] = phi ptr [ %[[V7]], %{{.*}} ], [ %[[ARRAYDESTROY_ELEMENT:.*]], %{{.*}} ]
// CHECK: %[[ARRAYDESTROY_ELEMENT]] = getelementptr inbounds ptr, ptr %[[ARRAYDESTROY_ELEMENTPAST]], i64 -1
// CHECK: %[[V8:.*]] = load ptr, ptr %[[ARRAYDESTROY_ELEMENT]], align 8
-// CHECK: call void @llvm.objc.release(ptr %[[V8]]) #2, !clang.imprecise_release !10
+// CHECK: call void @llvm.objc.release(ptr %[[V8]]) #2, !clang.imprecise_release
// CHECK-NOT: call void @llvm.objc.release
// CHECK: %[[V10:.*]] = load ptr, ptr %[[B_ADDR]], align 8
-// CHECK: call void @llvm.objc.release(ptr %[[V10]]) #2, !clang.imprecise_release !10
+// CHECK: call void @llvm.objc.release(ptr %[[V10]]) #2, !clang.imprecise_release
// CHECK: %[[V11:.*]] = load ptr, ptr %[[A_ADDR]], align 8
-// CHECK: call void @llvm.objc.release(ptr %[[V11]]) #2, !clang.imprecise_release !10
+// CHECK: call void @llvm.objc.release(ptr %[[V11]]) #2, !clang.imprecise_release
void test72(id a, id b) {
__strong id t[] = (__strong id[]){a, b};
More information about the cfe-commits
mailing list