From: David Bolvansky Date: Wed, 14 Aug 2019 15:35:40 +0000 (+0000) Subject: [NFC] Fix testcase for ARMs X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=577e8f67b517ddffea97811b5953d9bcdfb77813;p=clang [NFC] Fix testcase for ARMs git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@368863 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/struct-copy.c b/test/CodeGen/struct-copy.c index 029361b0c7..49e77057ec 100644 --- a/test/CodeGen/struct-copy.c +++ b/test/CodeGen/struct-copy.c @@ -4,14 +4,14 @@ struct x { int a[100]; }; void foo(struct x *P, struct x *Q) { // CHECK-LABEL: @foo( -// CHECK: call void @llvm.memcpy.p0i8.p0i8.i64 +// CHECK: call void @llvm.memcpy.p0i8.p0i8 *P = *Q; } -// CHECK: declare void @llvm.memcpy.p0i8.p0i8.i64(i8* noalias nocapture writeonly, i8* noalias nocapture readonly, i64, i1 immarg) +// CHECK: declare void @llvm.memcpy.p0i8.p0i8{{.*}}(i8* noalias nocapture writeonly, i8* noalias nocapture readonly void bar(struct x *P, struct x *Q) { // CHECK-LABEL: @bar( -// CHECK: call void @llvm.memcpy.p0i8.p0i8.i64 +// CHECK: call void @llvm.memcpy.p0i8.p0i8 __builtin_memcpy(P, Q, sizeof(struct x)); }