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

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 7 08:04:06 PDT 2018


spatel requested changes to this revision.
spatel added a comment.
This revision now requires changes to proceed.

If I apply this patch, the test case fails.

Do you understand the problem with the intervening store? You can't solve that by simply removing the one-use check.


https://reviews.llvm.org/D45344





More information about the llvm-commits mailing list