[all-commits] [llvm/llvm-project] 18a297: [Attributor][FIX] Ensure we use the right AAExecut...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Thu Feb 2 02:28:50 PST 2023


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

  Changed paths:
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
    A llvm/test/Transforms/Attributor/reduced/aa_execution_domain_wrong_fn.ll

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

Before we might have ended up queriying the AAExecutionDomain of a
different function, which resulted in wrong optimistic results.

Partially fixes https://github.com/llvm/llvm-project/issues/60425


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

  Changed paths:
    M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
    M llvm/test/Transforms/OpenMP/value-simplify-openmp-opt.ll

  Log Message:
  -----------
  [OpenMP][FIX] Ensure to determine aligned regions properly

There were missing checks in the aligned region code, copy-paste errors
(= usage of the IsReachedFromAlignedBarrierOnly value instead of
IsReachingAlignedBarrierOnly value on the forward pass), and a missing
update of the call state for sync declarations and definitions.

Partially fixes https://github.com/llvm/llvm-project/issues/60425


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

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

  Log Message:
  -----------
  [Attributor][NFC] Improve debug messages


Compare: https://github.com/llvm/llvm-project/compare/88ac9138f4eb...e67f1480232e


More information about the All-commits mailing list