[PATCH] D49771: CodeGen: use non-zero memset when possible for automatic variables

Joerg Sonnenberger via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 1 10:19:13 PDT 2018


joerg added a comment.

There are two different considerations here:
(1) Create less target code
(2) Create less IR

If this code can significantly reduce the amount of IR, it can be useful in general. That's why the existing memset logic is helpful.


Repository:
  rL LLVM

https://reviews.llvm.org/D49771





More information about the cfe-commits mailing list