[PATCH] D49165: Add, and infer, a nofree function attribute

Brian Homerding via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 17 10:30:00 PDT 2019


homerdin updated this revision to Diff 205113.
homerdin added a comment.
Herald added a subscriber: asbirlea.

I moved the logic for library functions to `inferLibFuncAttributes`, added a note to `TargetLibraryInfo.def` and updated the tests


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D49165/new/

https://reviews.llvm.org/D49165

Files:
  docs/LangRef.rst
  include/llvm/Analysis/MemoryBuiltins.h
  include/llvm/Analysis/TargetLibraryInfo.def
  include/llvm/Bitcode/LLVMBitCodes.h
  include/llvm/IR/Attributes.td
  include/llvm/IR/Function.h
  lib/Analysis/MemoryBuiltins.cpp
  lib/AsmParser/LLLexer.cpp
  lib/AsmParser/LLParser.cpp
  lib/AsmParser/LLToken.h
  lib/Bitcode/Reader/BitcodeReader.cpp
  lib/Bitcode/Writer/BitcodeWriter.cpp
  lib/IR/Attributes.cpp
  lib/IR/Verifier.cpp
  lib/Transforms/IPO/FunctionAttrs.cpp
  lib/Transforms/Utils/BuildLibCalls.cpp
  lib/Transforms/Utils/CodeExtractor.cpp
  test/Analysis/TypeBasedAliasAnalysis/functionattrs.ll
  test/Bitcode/attributes.ll
  test/CodeGen/AMDGPU/inline-attr.ll
  test/CodeGen/X86/no-plt-libcalls.ll
  test/Feature/OperandBundles/function-attrs.ll
  test/Transforms/FunctionAttrs/atomic.ll
  test/Transforms/FunctionAttrs/nofree.ll
  test/Transforms/FunctionAttrs/operand-bundles-scc.ll
  test/Transforms/FunctionAttrs/read_write_returned_arguments_scc.ll
  test/Transforms/InferFunctionAttrs/annotate.ll
  test/Transforms/InferFunctionAttrs/norecurse_debug.ll
  test/Transforms/LICM/strlen.ll
  test/Transforms/LoopIdiom/basic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49165.205113.patch
Type: text/x-patch
Size: 77858 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190617/e343b732/attachment.bin>


More information about the llvm-commits mailing list