[PATCH] D72042: [mlir] Update the use-list algorithms in SymbolTable to support nested references.
River Riddle via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 31 15:54:00 PST 2019
rriddle created this revision.
rriddle added a reviewer: jpienaar.
Herald added subscribers: llvm-commits, nicolasvasilache, antiagainst, shauheen, burmako, mehdi_amini.
Herald added a project: LLVM.
rriddle added a child revision: D72043: [mlir] Update the CallGraph for nested symbol references, and simplify CallableOpInterface.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D72042
Files:
mlir/include/mlir/IR/SymbolTable.h
mlir/lib/IR/SymbolTable.cpp
mlir/test/IR/test-symbol-rauw.mlir
mlir/test/IR/test-symbol-uses.mlir
mlir/test/lib/IR/TestSymbolUses.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72042.235736.patch
Type: text/x-patch
Size: 42134 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191231/d293bfc8/attachment-0001.bin>
More information about the llvm-commits
mailing list