[PATCH] D76329: [MLIR] Deduplicate dialect registration by ClassID

Geoffrey Martin-Noble via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 18 17:24:10 PDT 2020


GMNGeoffrey updated this revision to Diff 251223.
GMNGeoffrey marked 2 inline comments as done.
GMNGeoffrey added a comment.

Stable maps and private registration.

Use stable-ordered maps. Make allocator functions private static methods.
Make dialect and dialect hooks registry have the same format.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76329/new/

https://reviews.llvm.org/D76329

Files:
  mlir/include/mlir/IR/Dialect.h
  mlir/include/mlir/IR/DialectHooks.h
  mlir/lib/IR/Dialect.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76329.251223.patch
Type: text/x-patch
Size: 8552 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200319/3daf2dc6/attachment.bin>


More information about the llvm-commits mailing list