[all-commits] [llvm/llvm-project] ab513f: [Attributor] Ensure call sites with missing callee...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Sun Jul 9 19:25:40 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab513fe63b5f9f36d070fe23745702cc7879c896
      https://github.com/llvm/llvm-project/commit/ab513fe63b5f9f36d070fe23745702cc7879c896
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-07-09 (Sun, 09 Jul 2023)

  Changed paths:
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp

  Log Message:
  -----------
  [Attributor] Ensure call sites with missing callees are tracked


  Commit: 900b665371000ae2e2393a95f6e8f769d3e89d3b
      https://github.com/llvm/llvm-project/commit/900b665371000ae2e2393a95f6e8f769d3e89d3b
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-07-09 (Sun, 09 Jul 2023)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/Attributor.h

  Log Message:
  -----------
  [Attributor] Avoid running trivial AA initializers

Since the enum IR attributes are now queried via the hasAssumedIRAttr
interface, we do not need to check isImpliedByIR in their initializer
anymore. Further, most AAs have a trivial initializer that is not worth
creating the AA if we would not also update it (see
Attributor::shouldUpdateAA).


Compare: https://github.com/llvm/llvm-project/compare/544b4c6d522f...900b66537100


More information about the All-commits mailing list