[PATCH] D45344: [SimplifyLibcalls] Fold malloc + memset to calloc even for llvm.memset
Dávid Bolvanský via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 27 15:15:07 PDT 2018
xbolva00 added a comment.
In https://reviews.llvm.org/D45344#1081661, @efriedma wrote:
> This transform really belongs in DeadStoreElimination, not here; it has the relevant logic and some similar transforms.
But folding part for intrinsic memset can be here, no?
https://reviews.llvm.org/D45344
More information about the llvm-commits
mailing list