[Mlir-commits] [mlir] [mlir][mesh] Use tensor shape notation for the shape of a cluster (PR #73826)
Boian Petkantchin
llvmlistbot at llvm.org
Mon Dec 4 15:49:10 PST 2023
================
@@ -1099,6 +1101,9 @@ namespace mlir {
AffineMap makeStridedLinearLayoutMap(ArrayRef<int64_t> strides, int64_t offset,
MLIRContext *context);
+void printShape(OpAsmPrinter &printer, Operation *op, ArrayRef<int64_t> shape);
+ParseResult parseShape(OpAsmParser &parser, DenseI64ArrayAttr &shape);
----------------
sogartar wrote:
I moved the `custom<Shape>` related functions to `OpImplementation.h` and also added `printDimensionList` to `AsmPrinter` and `AsmPrinter::Impl` to be consistent with the naming of `parseDimensionList` in `AsmParser`.
https://github.com/llvm/llvm-project/pull/73826
More information about the Mlir-commits
mailing list