[all-commits] [llvm/llvm-project] f5425c: [LoopInfo] Move generic LoopInfo into own files

Christian Ulmann via All-commits all-commits at lists.llvm.org
Sun Apr 23 23:20:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f5425c128a30b32d39e0bc133e8e8dbad6066620
      https://github.com/llvm/llvm-project/commit/f5425c128a30b32d39e0bc133e8e8dbad6066620
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2023-04-24 (Mon, 24 Apr 2023)

  Changed paths:
    M bolt/include/bolt/Core/BinaryLoop.h
    M bolt/lib/Passes/TailDuplication.cpp
    M bolt/lib/Rewrite/RewriteInstance.cpp
    M llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h
    M llvm/include/llvm/Analysis/LoopInfo.h
    R llvm/include/llvm/Analysis/LoopInfoImpl.h
    M llvm/include/llvm/CodeGen/MachineLoopInfo.h
    A llvm/include/llvm/Support/GenericLoopInfo.h
    A llvm/include/llvm/Support/GenericLoopInfoImpl.h
    M llvm/lib/Analysis/LoopInfo.cpp
    M llvm/lib/CodeGen/MachineLoopInfo.cpp
    M mlir/include/mlir/Analysis/CFGLoopInfo.h
    M mlir/lib/Analysis/CFGLoopInfo.cpp

  Log Message:
  -----------
  [LoopInfo] Move generic LoopInfo into own files

This commit splits the generic part of `LoopInfo` into separate files.
These new `GenericLoopInfo` files are located in `llvm/Support` to be inline
with `GenericDomTree`.

Furthermore, this change ensures that MLIR's Bazel build does not have
to link against `LLVMAnalysis` just to use these template headers.

Depends on D148219

Reviewed By: ftynse

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




More information about the All-commits mailing list