[PATCH] D103451: [SimplifyLibCalls][NFC] Clean up LibCallSimplifier from memset+malloc into calloc transformation

Dawid Jurczak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 1 04:58:06 PDT 2021


yurai007 created this revision.
yurai007 added reviewers: xbolva00, nikic, fhahn, asbirlea, hubert.reinterpretcast.
Herald added a subscriber: hiraditya.
yurai007 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

FoldMallocMemset can be safely removed because since https://reviews.llvm.org/D103009
such transformation is already performed in DSE. Additionally updated test checks with --check-globals.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103451

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103451.348938.patch
Type: text/x-patch
Size: 11750 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210601/71b03516/attachment.bin>


More information about the llvm-commits mailing list