[Mlir-commits] [mlir] [mlir][tosa] Change the start and size of slice to tosa shape type (PR #124209)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri Jan 24 15:25:42 PST 2025
================
@@ -268,12 +268,28 @@ class SliceConverter : public OpConversionPattern<tosa::SliceOp> {
ShapedType resultType = cast<ShapedType>(sliceOp.getType());
if (llvm::isa<UnrankedTensorType>(resultType))
return failure();
+
+ ElementsAttr StartElems;
----------------
Jerry-Ge wrote:
cc @tatwaichong suggests to conform to LLVM standard.
https://github.com/llvm/llvm-project/pull/124209
More information about the Mlir-commits
mailing list