[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
Sat Apr 7 11:09:11 PDT 2018


xbolva00 updated this revision to Diff 141497.
xbolva00 added a comment.

Removed old test and added new one. Works for me.


https://reviews.llvm.org/D45344

Files:
  lib/Transforms/Utils/SimplifyLibCalls.cpp
  test/Transforms/InstCombine/memset-1.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45344.141497.patch
Type: text/x-patch
Size: 3765 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180407/35d6909f/attachment.bin>


More information about the llvm-commits mailing list