[PATCH] D49771: CodeGen: use non-zero memset when possible for automatic variables
JF Bastien via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 31 22:15:48 PDT 2018
jfb added a comment.
In https://reviews.llvm.org/D49771#1183641, @mehdi_amini wrote:
> > 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.
The code around this one, and lack of code in LLVM, seem to disagree. :-)
Repository:
rL LLVM
https://reviews.llvm.org/D49771
More information about the llvm-commits
mailing list