[all-commits] [llvm/llvm-project] 05b060: [LoopPeel] Expose ValueMap of last peeled iteratio...

annamthomas via All-commits all-commits at lists.llvm.org
Mon Dec 19 06:55:45 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 05b060b0b07bf35131a94d62575dc091bd03b2f0
      https://github.com/llvm/llvm-project/commit/05b060b0b07bf35131a94d62575dc091bd03b2f0
  Author: Anna Thomas <anna at azul.com>
  Date:   2022-12-19 (Mon, 19 Dec 2022)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/LoopPeel.h
    M llvm/lib/Transforms/Scalar/LoopFuse.cpp
    M llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
    M llvm/lib/Transforms/Utils/LoopPeel.cpp

  Log Message:
  -----------
  [LoopPeel] Expose ValueMap of last peeled iteration. NFC

The value map of last peeled iteration is computed within peelLoop API.
This patch exposes it for callers of peelLoop.
While this is not currently used by upstream passes, we have a usecase
downstream which benefits from this API update. Future users of peelLoop
can also use the ValueMap if needed.

Similar value maps are exposed by other loop utilities such as loop
cloning.

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




More information about the All-commits mailing list