[PATCH] D103009: [DSE] Transform memset + malloc --> calloc (PR25892)

Dawid Jurczak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 27 05:13:12 PDT 2021


yurai007 updated this revision to Diff 361985.
yurai007 added a comment.

Don't transform when function is calloc or it's instrumented with ASan.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103009/new/

https://reviews.llvm.org/D103009

Files:
  llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
  llvm/test/Transforms/DeadStoreElimination/noop-stores.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103009.361985.patch
Type: text/x-patch
Size: 12540 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210727/2116d9bd/attachment.bin>


More information about the llvm-commits mailing list