[all-commits] [llvm/llvm-project] ead75d: (Reland)[mlir] Add a generic data-flow analysis fr...

Jeff Niu via All-commits all-commits at lists.llvm.org
Tue Jun 14 14:33:24 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ead75d9434ec83817a715582065349ff70932be6
      https://github.com/llvm/llvm-project/commit/ead75d9434ec83817a715582065349ff70932be6
  Author: Mogball <jeffniu22 at gmail.com>
  Date:   2022-06-14 (Tue, 14 Jun 2022)

  Changed paths:
    A mlir/include/mlir/Analysis/DataFlowFramework.h
    M mlir/lib/Analysis/CMakeLists.txt
    A mlir/lib/Analysis/DataFlowFramework.cpp
    A mlir/test/Analysis/test-foo-analysis.mlir
    M mlir/test/lib/Analysis/CMakeLists.txt
    A mlir/test/lib/Analysis/TestDataFlowFramework.cpp
    M mlir/tools/mlir-opt/mlir-opt.cpp
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
    M utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel

  Log Message:
  -----------
  (Reland)[mlir] Add a generic data-flow analysis framework

Removes one element of the pointer union to make it work on 32-bit
systems.

This patch introduces a generic data-flow analysis framework to MLIR. The framework implements a fixed-point iteration algorithm and a dependency graph between lattice states and analysis. Lattice states and points are fully extensible to support highly-customizable analyses.

Reviewed By: phisiart, rriddle

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




More information about the All-commits mailing list