[PATCH] D71617: [WIP][NFC][Attributor] noalias attribute deduction fixme

pankaj gode via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 27 11:03:10 PST 2019


pgode updated this revision to Diff 235436.
pgode added a comment.

I have tried modifying the patch to include suggestions.

- Added condition to check if use is not marked nocapture.
- Included nullpointer check and reachability check.


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

https://reviews.llvm.org/D71617

Files:
  llvm/include/llvm/Transforms/IPO/Attributor.h
  llvm/lib/Transforms/IPO/Attributor.cpp
  llvm/test/Transforms/Attributor/IPConstantProp/pthreads.ll
  llvm/test/Transforms/Attributor/callbacks.ll
  llvm/test/Transforms/Attributor/heap_to_stack.ll
  llvm/test/Transforms/Attributor/noalias.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71617.235436.patch
Type: text/x-patch
Size: 10430 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191227/3f4018c8/attachment.bin>


More information about the llvm-commits mailing list