[PATCH] D64876: [Attributor] Deduce "dereferenceable" attribute

Hideto Ueno via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 17 11:38:58 PDT 2019


uenoku created this revision.
uenoku added reviewers: jdoerfert, sstefan1.
Herald added subscribers: llvm-commits, jfb, hiraditya.
Herald added a project: LLVM.

Deduce dereferenceable attribute in Attributor.

These will be added in a later patch.

- dereferenceable(_or_null)_globally (D61652 <https://reviews.llvm.org/D61652>)
- Deduction based on load instruction (similar to D64258 <https://reviews.llvm.org/D64258>)


https://reviews.llvm.org/D64876

Files:
  llvm/include/llvm/Transforms/IPO/Attributor.h
  llvm/lib/Transforms/IPO/Attributor.cpp
  llvm/test/Transforms/FunctionAttrs/arg_nocapture.ll
  llvm/test/Transforms/FunctionAttrs/dereferenceable.ll
  llvm/test/Transforms/FunctionAttrs/nonnull.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64876.210377.patch
Type: text/x-patch
Size: 22530 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190717/1e26e9fc/attachment.bin>


More information about the llvm-commits mailing list