[PATCH] D77455: [mlir][ODS] Add support for variadic regions.

River Riddle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 3 23:25:39 PDT 2020


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

This revision adds support for marking the last region as variadic in the ODS region list with the VariadicRegion directive.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D77455

Files:
  mlir/docs/OpDefinitions.md
  mlir/include/mlir/IR/OpBase.td
  mlir/include/mlir/IR/OpDefinition.h
  mlir/include/mlir/TableGen/Operator.h
  mlir/include/mlir/TableGen/Region.h
  mlir/lib/IR/Operation.cpp
  mlir/lib/TableGen/CMakeLists.txt
  mlir/lib/TableGen/Operator.cpp
  mlir/lib/TableGen/Region.cpp
  mlir/test/Dialect/LLVMIR/func.mlir
  mlir/test/Dialect/LLVMIR/global.mlir
  mlir/test/Dialect/Loops/invalid.mlir
  mlir/test/IR/region.mlir
  mlir/test/mlir-tblgen/op-decl.td
  mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77455.255006.patch
Type: text/x-patch
Size: 26935 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200404/393162cb/attachment.bin>


More information about the llvm-commits mailing list