[all-commits] [llvm/llvm-project] 6fca03: [mlir] Update the use-list algorithms in SymbolTab...

River Riddle via All-commits all-commits at lists.llvm.org
Mon Jan 13 15:24:25 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6fca03f0cae77c275870c4569bfeeb7ca0f561a6
      https://github.com/llvm/llvm-project/commit/6fca03f0cae77c275870c4569bfeeb7ca0f561a6
  Author: River Riddle <riverriddle at google.com>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M mlir/include/mlir/IR/SymbolTable.h
    M mlir/lib/IR/SymbolTable.cpp
    M mlir/test/IR/test-symbol-rauw.mlir
    M mlir/test/IR/test-symbol-uses.mlir
    M mlir/test/lib/IR/TestSymbolUses.cpp

  Log Message:
  -----------
  [mlir] Update the use-list algorithms in SymbolTable to support nested references.

Summary: This updates the use list algorithms to support querying from a specific symbol, allowing for the collection and detection of nested references. This works by walking the parent "symbol scopes" and applying the existing algorithm at each level.

Reviewed By: jpienaar

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




More information about the All-commits mailing list