[PATCH] D66135: [SimplifyLibCalls] Add noalias from known callsites [WIP]

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 13 04:15:43 PDT 2019


xbolva00 created this revision.
xbolva00 added reviewers: jdoerfert, efriedma.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Should be fine for memcpy, strcpy, strncpy where size > 0.


Repository:
  rL LLVM

https://reviews.llvm.org/D66135

Files:
  lib/Transforms/Utils/SimplifyLibCalls.cpp
  test/Analysis/TypeBasedAliasAnalysis/memcpyopt.ll
  test/Transforms/InstCombine/mem-deref-bytes.ll
  test/Transforms/InstCombine/memcpy-from-global.ll
  test/Transforms/InstCombine/memcpy-to-load.ll
  test/Transforms/InstCombine/memcpy.ll
  test/Transforms/InstCombine/memcpy_chk-1.ll
  test/Transforms/InstCombine/objsize.ll
  test/Transforms/InstCombine/sprintf-1.ll
  test/Transforms/InstCombine/stpcpy_chk-1.ll
  test/Transforms/InstCombine/strcpy_chk-1.ll
  test/Transforms/InstCombine/strncpy_chk-1.ll
  test/Transforms/MemCpyOpt/memcpy-to-memset-with-lifetimes.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66135.214802.patch
Type: text/x-patch
Size: 25762 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190813/e50f002a/attachment.bin>


More information about the llvm-commits mailing list