https://github.com/nikic created https://github.com/llvm/llvm-project/pull/218643
Account for the change from #218404. >From cffe0208d6d9b84ad9a08a01a6de2f745866cec3 Mon Sep 17 00:00:00 2001 From: Nikita Popov <[email protected]> Date: Tue, 25 Aug 2026 11:19:35 +0200 Subject: [PATCH] [Clang] Update new tests for nofreeobj Account for the change from #218404. --- clang/test/CodeGen/AArch64/abi-classify-arg-types.c | 2 +- clang/test/CodeGen/AArch64/abi-classify-arg-types.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/clang/test/CodeGen/AArch64/abi-classify-arg-types.c b/clang/test/CodeGen/AArch64/abi-classify-arg-types.c index 45a78a5824bae..7f0ba6ce6bfc3 100644 --- a/clang/test/CodeGen/AArch64/abi-classify-arg-types.c +++ b/clang/test/CodeGen/AArch64/abi-classify-arg-types.c @@ -109,4 +109,4 @@ void arg_bitint128(_BitInt(128) x) {} // CHECK: define{{.*}} void @arg_bitint128(i128 noundef %{{.*}}) void arg_bitint129(_BitInt(129) x) {} -// CHECK: define{{.*}} void @arg_bitint129(ptr nofree noundef align 16 dead_on_return dereferenceable(32) %{{.*}}) +// CHECK: define{{.*}} void @arg_bitint129(ptr nofreeobj noundef align 16 dead_on_return dereferenceable(32) %{{.*}}) diff --git a/clang/test/CodeGen/AArch64/abi-classify-arg-types.cpp b/clang/test/CodeGen/AArch64/abi-classify-arg-types.cpp index 139f222ecc1fb..3259e08eb65b8 100644 --- a/clang/test/CodeGen/AArch64/abi-classify-arg-types.cpp +++ b/clang/test/CodeGen/AArch64/abi-classify-arg-types.cpp @@ -36,12 +36,12 @@ struct ExplicitCopy { }; void arg_nontrivial_copy(NonTrivialCopy a) {} -// CHECK: define{{.*}} void @arg_nontrivial_copy(ptr nofree noundef align 4 dead_on_return dereferenceable(4) %{{.*}}) +// CHECK: define{{.*}} void @arg_nontrivial_copy(ptr nofreeobj noundef align 4 dead_on_return dereferenceable(4) %{{.*}}) void arg_nontrivial_dtor_and_copy(NonTrivialDtorAndCopy a) {} -// CHECK: define{{.*}} void @arg_nontrivial_dtor_and_copy(ptr nofree noundef align 4 {{(dead_on_return )?}}dereferenceable(4) %{{.*}}) +// CHECK: define{{.*}} void @arg_nontrivial_dtor_and_copy(ptr nofreeobj noundef align 4 {{(dead_on_return )?}}dereferenceable(4) %{{.*}}) void arg_explicit_copy(ExplicitCopy a) {} -// CHECK: define{{.*}} void @arg_explicit_copy(ptr nofree noundef align 2 dead_on_return dereferenceable(2) %{{.*}}) +// CHECK: define{{.*}} void @arg_explicit_copy(ptr nofreeobj noundef align 2 dead_on_return dereferenceable(2) %{{.*}}) } _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
