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

yurai007 via All-commits all-commits at lists.llvm.org
Fri Jul 9 02:02:00 PDT 2021


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

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

  Log Message:
  -----------
  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