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 | ||
|---|---|---|
| 1837 | Please keep the file sorted. | |
| 1873 | Why is unranked to unranked not supported? | |
| mlir/lib/Dialect/StandardOps/IR/Ops.cpp | ||
| 1906 | Nit: You could also use isa<UnrankedMemRefType> here as you do not need the value. | |
| 1910 | Nit: This is not the rank but the length of the shape operand. | |
| 1914 | Maybe cannot use shape operand with dynamic length to cast ...? | |
| 1917 | Maybe length of shape operand differs from the result's memref rank? | |
Please keep the file sorted.