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.
Details
Details
- Reviewers
rriddle - Commits
- rG2cfc66a6fa66: [mlir] Add a SharedSymbolTableCollection class
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This seems like a fine start. It'd be nice if the name was a bit closer to "ThreadSafe" aspect, like "LockedSymbolTableCollection"(or something), to make it more apparent what the purpose is on first glance.
mlir/include/mlir/IR/SymbolTable.h | ||
---|---|---|
296–297 | Can you detail the thread safe aspects in the docs? I don't think "shared" accurately conveys that on its own. |
Can you detail the thread safe aspects in the docs? I don't think "shared" accurately conveys that on its own.