[PATCH] D78600: DenseStringElementsAttr added to default attribute types

Rob Suderman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 21 17:21:13 PDT 2020


rsuderman created this revision.
rsuderman added a reviewer: rriddle.
Herald added subscribers: llvm-commits, frgossen, grosul1, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, jpienaar, mehdi_amini.
Herald added 1 blocking reviewer(s): rriddle.
Herald added a reviewer: antiagainst.
Herald added a project: LLVM.
rsuderman retitled this revision from "Implemented a DenseStringsElementsAttr for handling tensors of
strings. This include the necessary logic for parsing and printing
the attributes, along with escape logic.

TestDialect was updated to include a custom type to test the 
string..." to " DenseStringElementsAttr added to default attribute types".
rsuderman edited the summary of this revision.

Implemented a DenseStringsElementsAttr for handling tensors ofstrings. This include the necessary logic for parsing and printingthe attributes, along with escape logic.TestDialect was updated to include a custom type to test the string attribute types.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78600

Files:
  mlir/include/mlir/IR/Attributes.h
  mlir/include/mlir/IR/DialectSymbolRegistry.def
  mlir/include/mlir/IR/OpBase.td
  mlir/lib/IR/AsmPrinter.cpp
  mlir/lib/IR/AttributeDetail.h
  mlir/lib/IR/Attributes.cpp
  mlir/lib/IR/MLIRContext.cpp
  mlir/lib/Parser/Parser.cpp
  mlir/test/IR/attribute.mlir
  mlir/test/IR/dense-elements-hex.mlir
  mlir/test/lib/Dialect/Test/TestDialect.cpp
  mlir/test/lib/Dialect/Test/TestDialect.h
  mlir/test/lib/Dialect/Test/TestOps.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78600.259132.patch
Type: text/x-patch
Size: 37854 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200422/fa53a0b2/attachment-0001.bin>


More information about the llvm-commits mailing list