This allows for simplifying OpDefGen, as well providing specializing accessors for the different successor counts. This mirrors the existing traits for operands and results.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D75313
[mlir] Add traits for verifying the number of successors and providing relevant accessors. ClosedPublic Authored by rriddle on Feb 27 2020, 4:42 PM.
Details Summary This allows for simplifying OpDefGen, as well providing specializing accessors for the different successor counts. This mirrors the existing traits for operands and results.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 4 2020, 10:48 AM Closed by commit rGc0fd5e657e5d: [mlir] Add traits for verifying the number of successors and providing relevant… (authored by rriddle). · Explain WhyMar 5 2020, 1:12 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 248587 mlir/include/mlir/IR/OpDefinition.h
mlir/lib/Dialect/SPIRV/SPIRVOps.cpp
mlir/lib/Dialect/StandardOps/IR/Ops.cpp
mlir/lib/IR/Operation.cpp
mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
mlir/test/Dialect/SPIRV/control-flow-ops.mlir
mlir/test/mlir-tblgen/op-decl.td
mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
|