[PATCH] D74525: [mlir][DeclarativeParser] Add support for formatting enum attributes in the string form.

River Riddle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 12 22:34:30 PST 2020


rriddle created this revision.
rriddle added reviewers: antiagainst, jpienaar.
Herald added subscribers: llvm-commits, Joonsoo, liufengdb, lucyrfox, mgester, arpith-jacob, nicolasvasilache, shauheen, burmako, mehdi_amini.
Herald added a reviewer: mravishankar.
Herald added a project: LLVM.

This revision adds support to the declarative parser for formatting enum attributes in the symbolized form. It uses this new functionality to port several of the SPIRV parsers over to the declarative form.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D74525

Files:
  mlir/include/mlir/Dialect/SPIRV/SPIRVNonUniformOps.td
  mlir/include/mlir/Dialect/SPIRV/SPIRVOps.td
  mlir/lib/Dialect/SPIRV/SPIRVOps.cpp
  mlir/test/Dialect/SPIRV/ops.mlir
  mlir/tools/mlir-tblgen/OpFormatGen.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74525.244337.patch
Type: text/x-patch
Size: 10611 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200213/e54c195b/attachment.bin>


More information about the llvm-commits mailing list