[all-commits] [llvm/llvm-project] d6fa3b: [Attributor] Remove now obsolete initialization code

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Thu Jun 29 13:32:25 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d6fa3b374fe0e2f46cff7c5156d234f648404606
      https://github.com/llvm/llvm-project/commit/d6fa3b374fe0e2f46cff7c5156d234f648404606
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-06-29 (Thu, 29 Jun 2023)

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

  Log Message:
  -----------
  [Attributor] Remove now obsolete initialization code

With the helpers in place to judge AAs [1] we can remove the custom
rolled initialization checking code. This exposed a minor oversight in
the AAMemoryLocation where we did not check the IR before we gave up for
a declaration.

[1] https://github.com/llvm/llvm-project/commit/d33bca840a824f59296230e83181012a0b1ba7ec


  Commit: 5186c2f9f83131f87ee3dc308ac5f18c019998c5
      https://github.com/llvm/llvm-project/commit/5186c2f9f83131f87ee3dc308ac5f18c019998c5
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-06-29 (Thu, 29 Jun 2023)

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

  Log Message:
  -----------
  [Attributor][NFC] Introduce IRP helpers for Attr and Arg handling


Compare: https://github.com/llvm/llvm-project/compare/2b12d8350eaa...5186c2f9f831


More information about the All-commits mailing list