[all-commits] [llvm/llvm-project] 8bc0be: [Attributor][NFCI] Avoid a temporary vector and ex...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Fri Feb 10 09:56:35 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8bc0bee2f8caec1da5575917fb15a1f66bb0a1d5
      https://github.com/llvm/llvm-project/commit/8bc0bee2f8caec1da5575917fb15a1f66bb0a1d5
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-02-10 (Fri, 10 Feb 2023)

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

  Log Message:
  -----------
  [Attributor][NFCI] Avoid a temporary vector and exit early

This change simply avoids the temporary vector and processes the elments
right away.


  Commit: bf9964fb138fbe8486840fa3d4439f2350225977
      https://github.com/llvm/llvm-project/commit/bf9964fb138fbe8486840fa3d4439f2350225977
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-02-10 (Fri, 10 Feb 2023)

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

  Log Message:
  -----------
  [Attributor][NFCI] Create a AAIsDead for the function eagerly


  Commit: 76a19190269be01e60703f4ece4affdcc87d23ca
      https://github.com/llvm/llvm-project/commit/76a19190269be01e60703f4ece4affdcc87d23ca
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-02-10 (Fri, 10 Feb 2023)

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

  Log Message:
  -----------
  [Attributor][NFC] Avoid unnecessary string operations

This caused multiple string operations which we don't need if we do not
create a profile.


  Commit: 294db31be74851a107452b5012bb5faead780b37
      https://github.com/llvm/llvm-project/commit/294db31be74851a107452b5012bb5faead780b37
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-02-10 (Fri, 10 Feb 2023)

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

  Log Message:
  -----------
  [Attributor][FIX] Ensure we use the right set comparison


  Commit: a9557aacd1a9a7ffb75dfb54cdc23398f69a4e36
      https://github.com/llvm/llvm-project/commit/a9557aacd1a9a7ffb75dfb54cdc23398f69a4e36
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-02-10 (Fri, 10 Feb 2023)

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

  Log Message:
  -----------
  [Attributor][NFCI] Use queries without exclusion set whenever possible

If a query uses an exclusion set but we haven't used it to determine the
result, we can cache the query without exclusion set too. When we lookup
a cached result we can check for the non-exclusion set version first.


  Commit: 86cce90e21c5e944ae8525b4bc6064758393c88e
      https://github.com/llvm/llvm-project/commit/86cce90e21c5e944ae8525b4bc6064758393c88e
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-02-10 (Fri, 10 Feb 2023)

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

  Log Message:
  -----------
  [Attributor][NFCI] Avoid AAIntraFnReachability updates if possible

Even if liveness changed, we only care about certain dead edges in
AAIntraFnReachability. If those are still dead, we can avoid an update.


  Commit: 1763c632544d462b9f4ae508ee7149fdb964fd5d
      https://github.com/llvm/llvm-project/commit/1763c632544d462b9f4ae508ee7149fdb964fd5d
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-02-10 (Fri, 10 Feb 2023)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/Attributor.h
    M llvm/lib/Transforms/IPO/Attributor.cpp
    M llvm/test/Transforms/Attributor/depgraph.ll
    M llvm/test/Transforms/Attributor/heap_to_stack.ll
    M llvm/test/Transforms/Attributor/nonnull.ll
    M llvm/test/Transforms/Attributor/openmp_parallel.ll
    M llvm/test/Transforms/Attributor/value-simplify-gpu.ll
    M llvm/test/Transforms/Attributor/value-simplify-instances.ll

  Log Message:
  -----------
  [Attributor][NFCI] Use a set to track dependences


Compare: https://github.com/llvm/llvm-project/compare/91e38bc76010...1763c632544d


More information about the All-commits mailing list