[PATCH] D49771: CodeGen: use non-zero memset when possible for automatic variables
Mehdi AMINI via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 31 17:10:10 PDT 2018
mehdi_amini added a comment.
> I'm worried, however, about generating a bunch more code than needed from clang in the hopes that the compiler will clean it up later.
Isn't a strong design component of clang/LLVM? Clang does not try to generate "smart" code and leave it up to LLVM to clean it up.
Repository:
rL LLVM
https://reviews.llvm.org/D49771
More information about the llvm-commits
mailing list