[all-commits] [llvm/llvm-project] bf9905: [Attributor] Improve noalias preservation using re...

Pankaj Gode via All-commits all-commits at lists.llvm.org
Fri Mar 13 08:39:15 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bf990530ae0f8d7bae77a9c94f4e57fc7fa42b2e
      https://github.com/llvm/llvm-project/commit/bf990530ae0f8d7bae77a9c94f4e57fc7fa42b2e
  Author: Pankaj Gode <pgode at codeaurora.org>
  Date:   2020-03-13 (Fri, 13 Mar 2020)

  Changed paths:
    M llvm/lib/Transforms/IPO/Attributor.cpp
    M llvm/test/Transforms/Attributor/noalias.ll
    M llvm/test/Transforms/Attributor/nonnull.ll

  Log Message:
  -----------
  [Attributor] Improve noalias preservation using reachability

Resolution for below fixme:
(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.

Reviewed by: jdoerfert, uenoku

Reviewers: jdoerfert, sstefan1, uenoku

Subscribers: uenoku, sstefan1, hiraditya, llvm-commits

Differential Revision: https://reviews.llvm.org/D71617




More information about the All-commits mailing list