r368863 - [NFC] Fix testcase for ARMs

David Bolvansky via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 14 08:35:40 PDT 2019


Author: xbolva00
Date: Wed Aug 14 08:35:40 2019
New Revision: 368863

URL: http://llvm.org/viewvc/llvm-project?rev=368863&view=rev
Log:
[NFC] Fix testcase for ARMs

Modified:
    cfe/trunk/test/CodeGen/struct-copy.c

Modified: cfe/trunk/test/CodeGen/struct-copy.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/struct-copy.c?rev=368863&r1=368862&r2=368863&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/struct-copy.c (original)
+++ cfe/trunk/test/CodeGen/struct-copy.c Wed Aug 14 08:35:40 2019
@@ -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));
 }




More information about the cfe-commits mailing list