[all-commits] [llvm/llvm-project] 2cfc66: [mlir] Add a SharedSymbolTableCollection class

Jeff Niu via All-commits all-commits at lists.llvm.org
Wed Feb 22 13:57:44 PST 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2cfc66a6fa660fb0b03de40815392f25038ccfba
  Author: Jeff Niu <jeff at modular.com>
  Date:   2023-02-22 (Wed, 22 Feb 2023)

  Changed paths:
    M mlir/include/mlir/IR/SymbolTable.h
    M mlir/lib/IR/SymbolTable.cpp

  Log Message:
  [mlir] Add a SharedSymbolTableCollection class

This class wraps a `SymbolTableCollection` to allow shared access to the
collection of symbol tables (but not the individual symbol tables). This
can be used, for example, in a pass that shards work among symbols that
requires symbol lookups.

Reviewed By: rriddle

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

More information about the All-commits mailing list