[PATCH] D45344: [SimplifyLibcalls] Fold malloc + memset to calloc even for llvm.memset

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 27 15:22:16 PDT 2018


efriedma added a comment.

I mean the whole foldMallocMemset transform should be in DSE.  I mean, arguably the transform isn't actually eliminating a dead store, but the code you need is very similar to eliminateNoopStore.


https://reviews.llvm.org/D45344





More information about the llvm-commits mailing list