The op allows to reshape memrefs using a 1D memref of extents. The shape memref
can also be dynamic.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Can you make sure there is a thread on discourse before adding ops to the standard dialect?
Thanks, some comments...
mlir/include/mlir/Dialect/StandardOps/IR/Ops.td | ||
---|---|---|
1839 | Please keep the file sorted. | |
1875 | Why is unranked to unranked not supported? | |
mlir/lib/Dialect/StandardOps/IR/Ops.cpp | ||
1911 | Nit: You could also use isa<UnrankedMemRefType> here as you do not need the value. | |
1915 | Nit: This is not the rank but the length of the shape operand. | |
1919 | Maybe cannot use shape operand with dynamic length to cast ...? | |
1922 | Maybe length of shape operand differs from the result's memref rank? |
Please keep the file sorted.