[PATCH] D53342: [SimplifyLibCalls] Mark known arguments with nonnull

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 24 15:08:39 PDT 2018


xbolva00 updated this revision to Diff 170997.
xbolva00 added a comment.

- drop problematic nonnull attributes with unknown size arg


https://reviews.llvm.org/D53342

Files:
  include/llvm/Transforms/Utils/SimplifyLibCalls.h
  lib/Transforms/Utils/SimplifyLibCalls.cpp
  test/Analysis/BasicAA/gep-alias.ll
  test/Analysis/TypeBasedAliasAnalysis/memcpyopt.ll
  test/CodeGen/X86/no-plt-libcalls.ll
  test/Other/cgscc-libcall-update.ll
  test/Transforms/InstCombine/ARM/strcmp.ll
  test/Transforms/InstCombine/align-addr.ll
  test/Transforms/InstCombine/getelementptr.ll
  test/Transforms/InstCombine/memcmp-constant-fold.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/memmove_chk-1.ll
  test/Transforms/InstCombine/memset_chk-1.ll
  test/Transforms/InstCombine/objsize.ll
  test/Transforms/InstCombine/printf-1.ll
  test/Transforms/InstCombine/printf-2.ll
  test/Transforms/InstCombine/puts-1.ll
  test/Transforms/InstCombine/snprintf.ll
  test/Transforms/InstCombine/sprintf-1.ll
  test/Transforms/InstCombine/stpcpy_chk-1.ll
  test/Transforms/InstCombine/str-int-2.ll
  test/Transforms/InstCombine/str-int.ll
  test/Transforms/InstCombine/strchr-1.ll
  test/Transforms/InstCombine/strcmp-1.ll
  test/Transforms/InstCombine/strcmp-memcmp.ll
  test/Transforms/InstCombine/strcpy_chk-1.ll
  test/Transforms/InstCombine/strcspn-1.ll
  test/Transforms/InstCombine/strlen-1.ll
  test/Transforms/InstCombine/strncpy_chk-1.ll
  test/Transforms/InstCombine/strstr-1.ll
  test/Transforms/MemCpyOpt/memcpy-to-memset-with-lifetimes.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53342.170997.patch
Type: text/x-patch
Size: 129305 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181024/586c6d31/attachment-0001.bin>


More information about the llvm-commits mailing list