[clang] 1ecb1bc - Fix memcpy-nobuiltin.c test case
via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 28 12:55:52 PDT 2021
Author: serge-sans-paille
Date: 2021-09-28T21:55:42+02:00
New Revision: 1ecb1bc3e214c8da53a7fda14f428786441109d7
URL: https://github.com/llvm/llvm-project/commit/1ecb1bc3e214c8da53a7fda14f428786441109d7
DIFF: https://github.com/llvm/llvm-project/commit/1ecb1bc3e214c8da53a7fda14f428786441109d7.diff
LOG: Fix memcpy-nobuiltin.c test case
Make it more generic by accepting weak_odr and dso_local specifiers.
Differential Revision: https://reviews.llvm.org/D109967
Added:
Modified:
clang/test/CodeGen/memcpy-nobuiltin.c
Removed:
################################################################################
diff --git a/clang/test/CodeGen/memcpy-nobuiltin.c b/clang/test/CodeGen/memcpy-nobuiltin.c
index cbd0ccaa2ebb..d752df8ba0eb 100644
--- a/clang/test/CodeGen/memcpy-nobuiltin.c
+++ b/clang/test/CodeGen/memcpy-nobuiltin.c
@@ -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>
More information about the cfe-commits
mailing list