[PATCH] D79011: [mlir] Extract DictionaryAttr sort method
Jacques Pienaar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 28 08:34:12 PDT 2020
jpienaar created this revision.
jpienaar added a reviewer: rriddle.
Herald added subscribers: llvm-commits, Kayjukh, frgossen, grosul1, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, mehdi_amini.
Herald added 1 blocking reviewer(s): rriddle.
Herald added a project: LLVM.
Enable sorting array of NamedAttributes, as would be expected by getWithSorted, into static member function so that external callers can get same sorting behavior while keeping sorting logic local.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D79011
Files:
mlir/include/mlir/IR/Attributes.h
mlir/include/mlir/IR/OperationSupport.h
mlir/lib/IR/Attributes.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79011.260642.patch
Type: text/x-patch
Size: 5131 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200428/efa15042/attachment.bin>
More information about the llvm-commits
mailing list