[PATCH] D74783: [mlir][ODS] Add support for specifying the successors of an operation.

River Riddle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 18 11:39:26 PST 2020


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

This revision add support in ODS for specifying the successors of an operation. Successors are specified via the `successors` list:

  let successors = (successor AnySuccessor:$target, AnySuccessor:$otherTarget);

Depends On D74683 <https://reviews.llvm.org/D74683>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D74783

Files:
  mlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td
  mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
  mlir/include/mlir/Dialect/SPIRV/SPIRVControlFlowOps.td
  mlir/include/mlir/Dialect/StandardOps/Ops.td
  mlir/include/mlir/IR/OpBase.td
  mlir/include/mlir/TableGen/Constraint.h
  mlir/include/mlir/TableGen/Operator.h
  mlir/include/mlir/TableGen/Successor.h
  mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
  mlir/lib/Dialect/SPIRV/SPIRVOps.cpp
  mlir/lib/TableGen/Constraint.cpp
  mlir/lib/TableGen/Operator.cpp
  mlir/test/Dialect/SPIRV/control-flow-ops.mlir
  mlir/test/lib/TestDialect/TestOps.td
  mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74783.245221.patch
Type: text/x-patch
Size: 23750 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200218/ee46a27d/attachment-0001.bin>


More information about the llvm-commits mailing list