[PATCH] D47218: [InstCombine] Remove calloc transformations

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 22 12:41:32 PDT 2018


xbolva00 created this revision.
xbolva00 added a reviewer: efriedma.
Herald added a subscriber: llvm-commits.

Previous patch does not care if a value is changed between calloc and strlen. This needs to be removed from InstCombine and maybe moved to DSE later after some rework.


Repository:
  rL LLVM

https://reviews.llvm.org/D47218

Files:
  include/llvm/Analysis/ValueTracking.h
  lib/Analysis/MemoryBuiltins.cpp
  lib/Analysis/ValueTracking.cpp
  lib/Transforms/Utils/SimplifyLibCalls.cpp
  test/Transforms/InstCombine/zero-string.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47218.148077.patch
Type: text/x-patch
Size: 8871 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180522/5725f0ae/attachment.bin>


More information about the llvm-commits mailing list