[all-commits] [llvm/llvm-project] 73a836: [Attributor] Look through indirect calls (#65197)

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Fri Sep 8 12:14:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 73a836a4642d9572493faf584bef1df0a0df0d2f
      https://github.com/llvm/llvm-project/commit/73a836a4642d9572493faf584bef1df0a0df0d2f
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/Attributor.h
    M llvm/lib/Transforms/IPO/Attributor.cpp
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/test/Transforms/Attributor/liveness.ll
    M llvm/test/Transforms/Attributor/nounwind.ll
    M llvm/test/Transforms/Attributor/value-simplify.ll

  Log Message:
  -----------
  [Attributor] Look through indirect calls (#65197)

Through the new `Attributor::checkForAllCallees` we can look through
indirect calls and visit all potential callees if they are known. Most
AAs will do that implicitly now via `AACalleeToCallSite`, thus, most AAs
are able to deal with missing callees for call site IR positions.

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




More information about the All-commits mailing list