Skip to content

Commit

Permalink
Fix memcpy-nobuiltin.c test case
Browse files Browse the repository at this point in the history
Make it more generic by accepting weak_odr and dso_local specifiers.

Differential Revision: https://reviews.llvm.org/D109967
  • Loading branch information
serge-sans-paille committed Sep 28, 2021
1 parent abbbc48 commit 1ecb1bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/test/CodeGen/memcpy-nobuiltin.c
Expand Up @@ -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>
Expand Down

0 comments on commit 1ecb1bc

Please sign in to comment.