[all-commits] [llvm/llvm-project] 09c3ee: [Attributor] Use sensible initialization in AANoCa...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Wed Mar 3 22:36:36 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 09c3eebf5fd647895e20617a11d898c66f96d22a
      https://github.com/llvm/llvm-project/commit/09c3eebf5fd647895e20617a11d898c66f96d22a
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2021-03-04 (Thu, 04 Mar 2021)

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

  Log Message:
  -----------
  [Attributor] Use sensible initialization in AANoCaptureCallSiteReturned


  Commit: c14213e030a98f4e1424358ecf69963f531a4949
      https://github.com/llvm/llvm-project/commit/c14213e030a98f4e1424358ecf69963f531a4949
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2021-03-04 (Thu, 04 Mar 2021)

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

  Log Message:
  -----------
  [Attributor][NFC] Move some trivial checks up


  Commit: f3f88287c5842dc166d0889cc4474e10b558db0b
      https://github.com/llvm/llvm-project/commit/f3f88287c5842dc166d0889cc4474e10b558db0b
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2021-03-04 (Thu, 04 Mar 2021)

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

  Log Message:
  -----------
  [Attributor] Use known alignment as lower bound to avoid work

If we know already more than available from a use, we don't need to
invest time on it.


  Commit: c8c93fdf0a06ef37705a0908e20e9c2c7103fce4
      https://github.com/llvm/llvm-project/commit/c8c93fdf0a06ef37705a0908e20e9c2c7103fce4
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2021-03-04 (Thu, 04 Mar 2021)

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

  Log Message:
  -----------
  [Attributor] Avoid work for GEPs and wait till the users are visited


  Commit: e592dad82e658d635d5e957aa149f475c429e176
      https://github.com/llvm/llvm-project/commit/e592dad82e658d635d5e957aa149f475c429e176
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2021-03-04 (Thu, 04 Mar 2021)

  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/ArgumentPromotion/X86/thiscall.ll
    M llvm/test/Transforms/Attributor/ArgumentPromotion/alignment.ll
    M llvm/test/Transforms/Attributor/ArgumentPromotion/byval.ll
    M llvm/test/Transforms/Attributor/ArgumentPromotion/control-flow2.ll
    M llvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead_2.ll
    M llvm/test/Transforms/Attributor/IPConstantProp/openmp_parallel_for.ll
    M llvm/test/Transforms/Attributor/IPConstantProp/return-argument.ll
    M llvm/test/Transforms/Attributor/IPConstantProp/return-constants.ll
    M llvm/test/Transforms/Attributor/align.ll
    M llvm/test/Transforms/Attributor/depgraph.ll
    M llvm/test/Transforms/Attributor/dereferenceable-1.ll
    M llvm/test/Transforms/Attributor/internalize.ll
    M llvm/test/Transforms/Attributor/liveness.ll
    M llvm/test/Transforms/Attributor/liveness_chains.ll
    M llvm/test/Transforms/Attributor/lvi-after-jumpthreading.ll
    M llvm/test/Transforms/Attributor/memory_locations.ll
    M llvm/test/Transforms/Attributor/nonnull.ll
    M llvm/test/Transforms/Attributor/norecurse.ll
    M llvm/test/Transforms/Attributor/potential.ll
    M llvm/test/Transforms/Attributor/range.ll
    M llvm/test/Transforms/Attributor/read_write_returned_arguments_scc.ll
    M llvm/test/Transforms/Attributor/returned.ll
    M llvm/test/Transforms/Attributor/value-simplify.ll
    M llvm/test/Transforms/Attributor/willreturn.ll

  Log Message:
  -----------
  [Attributor] Fold "TrackDependence" into the DepClassTy enum

We don't need a bool and an enum to express the three options we
currently have. This makes the interface nicer and much easier to
use optional dependencies. Also avoids mistakes where the bool is
false and enum ignored.


  Commit: 5b70c12f3ec4d123d741ad46217c2ea827d8d634
      https://github.com/llvm/llvm-project/commit/5b70c12f3ec4d123d741ad46217c2ea827d8d634
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2021-03-04 (Thu, 04 Mar 2021)

  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/lib/Transforms/IPO/OpenMPOpt.cpp
    M llvm/test/Transforms/Attributor/IPConstantProp/openmp_parallel_for.ll

  Log Message:
  -----------
  [Attributor] Make DepClass a required argument

We often used a sub-optimal dependence class in the past because we
didn't see the argument. Let's make it explicit so we remember to think
about it.


  Commit: e04c058798e4a83dd0480d24b34843a27aa230b2
      https://github.com/llvm/llvm-project/commit/e04c058798e4a83dd0480d24b34843a27aa230b2
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2021-03-04 (Thu, 04 Mar 2021)

  Changed paths:
    M llvm/docs/AliasAnalysis.rst

  Log Message:
  -----------
  [Docs] Remove `no-aa` from the alias analysis documentation

The `no-aa` pass has been removed with 7b560d40bddf.

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


Compare: https://github.com/llvm/llvm-project/compare/b46a1b129f68...e04c058798e4


More information about the All-commits mailing list