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

pankaj gode via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 17 09:27:00 PST 2019


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

Fixme for noalias deduction
(ii) Check whether the value is captured in the scope using AANoCapture.

  FIXME: This is conservative though, it is better to look at CFG and
               check only uses possibly executed before this callsite.

Propagates caller argument's noalias attribute to callee.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71617

Files:
  llvm/include/llvm/Transforms/IPO/Attributor.h
  llvm/lib/Transforms/IPO/Attributor.cpp
  llvm/test/Transforms/Attributor/noalias.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71617.234316.patch
Type: text/x-patch
Size: 5962 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191217/345133eb/attachment.bin>


More information about the llvm-commits mailing list