[all-commits] [llvm/llvm-project] 5c315b: [DSE] Transform memset + malloc --> calloc (PR25892)

yurai007 via All-commits all-commits at lists.llvm.org
Thu Jul 29 09:34:48 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5c315bee8c9db27d12cead928eea5a3fef97f34f
      https://github.com/llvm/llvm-project/commit/5c315bee8c9db27d12cead928eea5a3fef97f34f
  Author: Dawid Jurczak <dawid_jurek at vp.pl>
  Date:   2021-07-29 (Thu, 29 Jul 2021)

  Changed paths:
    M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
    M llvm/test/Transforms/DeadStoreElimination/noop-stores.ll

  Log Message:
  -----------
  [DSE] Transform memset + malloc --> calloc (PR25892)

After this change DSE can eliminate malloc + memset and emit calloc.
It's https://reviews.llvm.org/D101440 follow-up.

Differential Revision: https://reviews.llvm.org/D103009




More information about the All-commits mailing list