[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:30:19 PDT 2018


xbolva00 abandoned this revision.
xbolva00 added a comment.

In https://reviews.llvm.org/D45344#1081728, @efriedma wrote:

> 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.


Right, so I will close this for now..


https://reviews.llvm.org/D45344





More information about the llvm-commits mailing list