Fix memcpy-nobuiltin.c test case
authorserge-sans-paille <sguelton@redhat.com>
Tue, 28 Sep 2021 19:54:27 +0000 (21:54 +0200)
committerserge-sans-paille <sguelton@redhat.com>
Tue, 28 Sep 2021 19:55:42 +0000 (21:55 +0200)
Make it more generic by accepting weak_odr and dso_local specifiers.

Differential Revision: https://reviews.llvm.org/D109967

clang/test/CodeGen/memcpy-nobuiltin.c

index cbd0cca..d752df8 100644 (file)
@@ -4,7 +4,7 @@
 //
 // CHECK-WITH-DECL-NOT: @llvm.memcpy
 // CHECK-NO-DECL: @llvm.memcpy
-// CHECK-SELF-REF-DECL-LABEL: define dso_local i8* @memcpy.inline
+// CHECK-SELF-REF-DECL-LABEL: define {{.*}}i8* @memcpy.inline
 // CHECK-SELF-REF-DECL:       @memcpy(
 //
 #include <memcpy-nobuiltin.inc>