This revision makes the use of vector transfer operatons more idiomatic by
allowing to omit and inferring the permutation_map.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/include/mlir/Dialect/Vector/VectorOps.td | ||
---|---|---|
866 | You don't need a class unless it's parameterized. Try def Vector_TransferOpUtils { code transferDeclaration = [{...}]; } def Vector_TransferReadOp : ...{ let extraClassDeclaration = Vector_TransferOpUtils.transferdeclaration # [{...}]; } without classes or inheritance. | |
877 | Typo: tte | |
mlir/lib/Dialect/Vector/VectorOps.cpp | ||
1320 | Can you just put this into the declaration of the function in .td ? | |
1326 | Should we also check that it is a minor identity of the correct size, i.e. has the expected number of equal dimensions? Or is it impossible for valid ops? | |
1362 | Please add tests for user-visible error messages | |
1446 | parser.emitError(..) is convertible to ParseResult::failure() IIRC | |
mlir/test/Conversion/AffineToStandard/lower-affine-to-vector.mlir | ||
2–3 | Please drop the capture for the map if it is no longer necessary. Here and below, maybe in other files too. |
mlir/lib/Dialect/Vector/VectorOps.cpp | ||
---|---|---|
1326 | since it's inferred we can just construct and test. |
You don't need a class unless it's parameterized. Try
without classes or inheritance.