[all-commits] [llvm/llvm-project] 66a0b3: [Attributor] AAFunctionReachability, Handle CallBa...

Kuter Dinel via All-commits all-commits at lists.llvm.org
Sun Sep 12 15:36:07 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 66a0b3464ca8502a6a3b59800f9b31fcd7aa6e97
      https://github.com/llvm/llvm-project/commit/66a0b3464ca8502a6a3b59800f9b31fcd7aa6e97
  Author: Kuter Dinel <kuterdinel at gmail.com>
  Date:   2021-09-13 (Mon, 13 Sep 2021)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/Attributor.h
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/unittests/Transforms/IPO/AttributorTest.cpp

  Log Message:
  -----------
  [Attributor] AAFunctionReachability, Handle CallBase Reachability.

This patch makes it possible to query callbase reachability
(Can a callbase reach a function Fn transitively).
The patch moves the reachability query handling logic to a member class,
this class will have more users within the AA once we add other function
reachability queries.

Reviewed By: jdoerfert

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




More information about the All-commits mailing list