This type represents a range of positional values. It will be used in followup revisions to add support for variadic constructs to PDL, such as operand and result ranges.
Depends On D95716
Paths
| Differential D95717
[mlir][pdl] Add a new !pdl.range<> type ClosedPublic Authored by rriddle on Jan 29 2021, 7:54 PM.
Details Summary This type represents a range of positional values. It will be used in followup revisions to add support for variadic constructs to PDL, such as operand and result ranges. Depends On D95716
Diff Detail
Event Timelinerriddle added a child revision: D95718: [mlir][pdl][NFC] Rename InputOp to OperandOp.Jan 29 2021, 7:54 PM jpienaar added inline comments. This revision is now accepted and ready to land.Feb 28 2021, 2:19 PM rriddle marked 2 inline comments as done. Comment ActionsRebase
This revision was landed with ongoing or failed builds.Mar 3 2021, 3:55 PM Closed by commit rG55f878bad964: [mlir][pdl] Add a new !pdl.range<> type (authored by rriddle). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 327952 mlir/include/mlir/Dialect/PDL/IR/PDLOps.td
mlir/include/mlir/Dialect/PDL/IR/PDLTypes.h
mlir/include/mlir/Dialect/PDL/IR/PDLTypes.td
mlir/include/mlir/Dialect/PDLInterp/IR/PDLInterpOps.td
mlir/lib/Dialect/PDL/IR/CMakeLists.txt
mlir/lib/Dialect/PDL/IR/PDL.cpp
mlir/lib/Dialect/PDL/IR/PDLTypes.cpp
mlir/test/Dialect/PDL/invalid-types.mlir
|
So the range itself is not captured as a parem (or am I missing it?) but this the type corresponding to the runtime range