[all-commits] [llvm/llvm-project] dd92b2: [Attributor][NFC] Pre-commit new test case

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Tue Apr 5 16:21:47 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dd92b29e757da8ba10d7af516e6cf22b9ea625f8
      https://github.com/llvm/llvm-project/commit/dd92b29e757da8ba10d7af516e6cf22b9ea625f8
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2022-04-05 (Tue, 05 Apr 2022)

  Changed paths:
    A llvm/test/Transforms/Attributor/value-simplify-assume.ll

  Log Message:
  -----------
  [Attributor][NFC] Pre-commit new test case


  Commit: 3e8c4366e223ebe6005316930f382efb251f8434
      https://github.com/llvm/llvm-project/commit/3e8c4366e223ebe6005316930f382efb251f8434
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2022-04-05 (Tue, 05 Apr 2022)

  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/nonnull.ll
    M llvm/test/Transforms/Attributor/value-simplify-assume.ll

  Log Message:
  -----------
  [Attributor] Visit droppable uses in AAIsDead

If we ignore droppable users everything only used in llvm.assume (among
other things) is going to be deleted as dead. This is not helpful.
Instead we want to only delete things we actually don't need anymore. A
follow up will deal with loads in a smarter way.


Compare: https://github.com/llvm/llvm-project/compare/54cc7de4bc01...3e8c4366e223


More information about the All-commits mailing list