This commit adds support for building a concatenated range from
a given set of elements, either single element or other ranges, within a
rewrite. We could conceptually extend this to support constraining
input ranges, but the logic there is quite a bit more complex so it is
left for later work when a need arises.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Nice
mlir/include/mlir/Dialect/PDLInterp/IR/PDLInterpOps.td | ||
---|---|---|
1012 | OOC when is it not !pdl.T, pdl.range<T> ? E.g., with one specified is the other fixed? | |
mlir/lib/Rewrite/ByteCode.cpp | ||
107 | CreateDynamicTypeRange ? (just to mirror, else it feels like one is a specialization of the other) | |
1200 | else if (TypeRange ...) ? Or can read not fail here. |
OOC when is it not
!pdl.T, pdl.range<T>
? E.g., with one specified is the other fixed?