[PATCH] D75828: [AssumeBundles] filter usefull attriutes to preserve

Tyker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 8 10:39:48 PDT 2020


Tyker created this revision.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

This patch will filter attributes to only preserve those that are usefull.
In the case of NoAlias it is filtered out not because it isn't usefull
but because it is incorrect to preserve it as it is only valdi for the
duration of the function.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D75828

Files:
  llvm/lib/IR/KnowledgeRetention.cpp
  llvm/lib/Transforms/Utils/InlineFunction.cpp
  llvm/test/IR/assume-builder.ll
  llvm/test/Transforms/Inline/noalias2.ll
  llvm/unittests/IR/KnowledgeRetentionTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75828.249010.patch
Type: text/x-patch
Size: 30399 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200308/0117a4fd/attachment.bin>


More information about the llvm-commits mailing list