Also adopt DenseI64ArrayAttr in those transform ops.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/test/Dialect/Linalg/transform-tile-reduction.mlir | ||
---|---|---|
20–21 | Can't see offhand how to avoid modifying the parser so taking the test IR change .. I'd rather not .. When a specific subclass is used as argument of an operation, the declarative assembly will omit the type and print directly: [1, 2, 3] How do I enable this? Does this work w/Optional ? @Mogball |
mlir/test/Dialect/Linalg/transform-tile-reduction.mlir | ||
---|---|---|
20–21 | I meant w/DefaultValued, not Optional, sorry.. |
mlir/test/Dialect/Linalg/transform-tile-reduction.mlir | ||
---|---|---|
20–21 | I think this only happens when the attribute is used in the op syntax, not as part of attr-dict. |
mlir/test/Dialect/Linalg/transform-tile-reduction.mlir | ||
---|---|---|
20–21 | Good point, thanks! |
Can't see offhand how to avoid modifying the parser so taking the test IR change .. I'd rather not ..
The doc says: https://mlir.llvm.org/docs/Dialects/Builtin/#densearrayattr
How do I enable this? Does this work w/Optional ? @Mogball