[all-commits] [llvm/llvm-project] 496f9a: [mlir][analysis] Add an analysis for preserving sy...

Jeff Niu via All-commits all-commits at lists.llvm.org
Sun Jan 8 13:16:31 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 496f9a7d8d4b61b6f5dfa21e2614043a2b27cf67
      https://github.com/llvm/llvm-project/commit/496f9a7d8d4b61b6f5dfa21e2614043a2b27cf67
  Author: Jeff Niu <jeff at modular.com>
  Date:   2023-01-08 (Sun, 08 Jan 2023)

  Changed paths:
    A mlir/include/mlir/Analysis/SymbolTableAnalysis.h

  Log Message:
  -----------
  [mlir][analysis] Add an analysis for preserving symbol tables

This patch adds a `SymbolTableAnalysis` that can be used with the
analysis manager. It contains a symbol table collection. This analysis
allows symbol tables to be preserved across passes so that they do not
need to be recomputed. The analysis assumes it remains valid because
most transformations automatically keep symbol tables up-to-date using
its `insert` and `erase` methods.

Reviewed By: rriddle

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




More information about the All-commits mailing list