[PATCH] D59920: [FunctionAttrs] Remove old "returned" argument deduction

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 28 00:08:21 PDT 2019


jdoerfert created this revision.
jdoerfert added reviewers: homerdin, hfinkel, fedor.sergeev, sanjoy, spatel, nlopes, nicholas, reames.
Herald added subscribers: bollu, hiraditya.
Herald added a project: LLVM.

This removes the old FunctionAttrs "returned" argument deduction.

The code is obsolete as the Attributor deduction is more powerful.

The test cases that were affected by the change now run both passes.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D59920

Files:
  llvm/lib/Transforms/IPO/FunctionAttrs.cpp
  llvm/test/Transforms/FunctionAttrs/2009-01-02-LocalStores.ll
  llvm/test/Transforms/FunctionAttrs/arg_returned.ll
  llvm/test/Transforms/FunctionAttrs/incompatible_fn_attrs.ll
  llvm/test/Transforms/FunctionAttrs/nocapture.ll
  llvm/test/Transforms/FunctionAttrs/readattrs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59920.192570.patch
Type: text/x-patch
Size: 8572 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190328/8114d16a/attachment.bin>


More information about the llvm-commits mailing list