[PATCH] D64386: CodeGen: Use memset in initializers for non-zeros
Hal Finkel via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 24 09:04:43 PDT 2019
hfinkel added inline comments.
================
Comment at: clang/test/CodeGen/init-memset.c:29
char a[] = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
- // CHECK: call void @llvm.memcpy.{{.*}}
+ // CHECK: call void @llvm.memset.{{.*}}
use(a);
----------------
I'd be more comfortable if the test here actually checked the length and the value in the memset call here and below.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64386/new/
https://reviews.llvm.org/D64386
More information about the cfe-commits
mailing list